Added OnIRCRegistration(). Patch from Freman. Thanks :)

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1271 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
silverleo
2008-11-24 17:56:34 +00:00
parent f4e36a0b17
commit c71565103c
5 changed files with 24 additions and 4 deletions

View File

@@ -52,6 +52,11 @@ public:
PutModule("You got disconnected BoyOh.");
}
virtual EModRet OnIRCRegistration(CString& sPass, CString& sNick, CString& sIdent, CString& sRealName) {
sRealName += " - ZNC";
return CONTINUE;
}
virtual EModRet OnBroadcast(CString& sMessage) {
PutModule("------ [" + sMessage + "]");
sMessage = "======== [" + sMessage + "] ========";