Show arguments used to load the module instead of the description in listmods.

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1310 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
silverleo
2008-12-29 18:46:39 +00:00
parent cc3fcc17bb
commit fdb451a908

View File

@@ -526,12 +526,12 @@ void CClient::UserCommand(const CString& sLine) {
PutStatus("Global modules:");
CTable GTable;
GTable.AddColumn("Name");
GTable.AddColumn("Description");
GTable.AddColumn("Arguments");
for (unsigned int b = 0; b < GModules.size(); b++) {
GTable.AddRow();
GTable.SetCell("Name", GModules[b]->GetModName());
GTable.SetCell("Description", GModules[b]->GetDescription().Ellipsize(128));
GTable.SetCell("Arguments", GModules[b]->GetArgs());
}
PutStatus(GTable);
@@ -546,12 +546,12 @@ void CClient::UserCommand(const CString& sLine) {
PutStatus("User modules:");
CTable Table;
Table.AddColumn("Name");
Table.AddColumn("Description");
Table.AddColumn("Arguments");
for (unsigned int b = 0; b < Modules.size(); b++) {
Table.AddRow();
Table.SetCell("Name", Modules[b]->GetModName());
Table.SetCell("Description", Modules[b]->GetDescription().Ellipsize(128));
Table.SetCell("Arguments", Modules[b]->GetArgs());
}
PutStatus(Table);