mirror of
https://github.com/znc/znc.git
synced 2026-07-01 15:31:52 +02:00
Changed return value from bool to EModRet on most hooks
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@306 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
+4
-4
@@ -13,14 +13,14 @@ public:
|
||||
return "View all of the raw traffic.";
|
||||
}
|
||||
|
||||
virtual bool OnRaw(CString& sLine) {
|
||||
virtual EModRet OnRaw(CString& sLine) {
|
||||
PutModule("IRC -> [" + sLine + "]");
|
||||
return false;
|
||||
return CONTINUE;
|
||||
}
|
||||
|
||||
virtual bool OnUserRaw(CString& sLine) {
|
||||
virtual EModRet OnUserRaw(CString& sLine) {
|
||||
PutModule("YOU -> [" + sLine + "]");
|
||||
return false;
|
||||
return CONTINUE;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user