Moved GetDescription() into second argument of MODULEDEFS()

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@366 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
prozacx
2005-05-26 20:42:13 +00:00
parent 1c90fd9beb
commit c52542e469
12 changed files with 53 additions and 59 deletions

View File

@@ -9,10 +9,6 @@ public:
MODCONSTRUCTOR(CRawMod) {}
virtual ~CRawMod() {}
virtual CString GetDescription() {
return "View all of the raw traffic.";
}
virtual EModRet OnRaw(CString& sLine) {
PutModule("IRC -> [" + sLine + "]");
return CONTINUE;
@@ -24,5 +20,5 @@ public:
}
};
MODULEDEFS(CRawMod)
MODULEDEFS(CRawMod, "View all of the raw traffic")