mirror of
https://github.com/znc/znc.git
synced 2026-05-01 02:52:30 +02:00
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:
@@ -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 + "] ========";
|
||||
|
||||
Reference in New Issue
Block a user