mirror of
https://github.com/znc/znc.git
synced 2026-08-06 00:43:19 +02:00
Use the new CModule::PutModule(const CTable&) in various modules
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1169 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
+2
-14
@@ -336,12 +336,7 @@ private:
|
||||
}
|
||||
|
||||
if (Table.size()) {
|
||||
unsigned int uTableIdx = 0;
|
||||
CString sLine;
|
||||
|
||||
while (Table.GetLine(uTableIdx++, sLine)) {
|
||||
PutModule(sLine);
|
||||
}
|
||||
PutModule(Table);
|
||||
} else {
|
||||
PutModule("You have no entries.");
|
||||
}
|
||||
@@ -451,14 +446,7 @@ private:
|
||||
Table.SetCell("Command", "Help");
|
||||
Table.SetCell("Description", "This help.");
|
||||
|
||||
if (Table.size()) {
|
||||
unsigned int uTableIdx = 0;
|
||||
CString sLine;
|
||||
|
||||
while (Table.GetLine(uTableIdx++, sLine)) {
|
||||
PutModule(sLine);
|
||||
}
|
||||
}
|
||||
PutModule(Table);
|
||||
}
|
||||
|
||||
void Watch(const CString& sHostMask, const CString& sTarget, const CString& sPattern, bool bNotice = false) {
|
||||
|
||||
Reference in New Issue
Block a user