mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user