mirror of
https://github.com/znc/znc.git
synced 2026-08-08 09:52:55 +02:00
Removed const from CNick in priv/chan hooks
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@537 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
@@ -34,12 +34,12 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
virtual EModRet OnChanNotice(const CNick& Nick, CChan& Channel, CString& sMessage) {
|
||||
virtual EModRet OnChanNotice(CNick& Nick, CChan& Channel, CString& sMessage) {
|
||||
TryAttach(Channel);
|
||||
return CONTINUE;
|
||||
}
|
||||
|
||||
virtual EModRet OnChanMsg(const CNick& Nick, CChan& Channel, CString& sMessage) {
|
||||
virtual EModRet OnChanMsg(CNick& Nick, CChan& Channel, CString& sMessage) {
|
||||
TryAttach(Channel);
|
||||
return CONTINUE;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user