mirror of
https://github.com/znc/znc.git
synced 2026-05-09 06:44:40 +02:00
autoattach: Attach on channel actions
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1778 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
@@ -55,6 +55,11 @@ public:
|
||||
return CONTINUE;
|
||||
}
|
||||
|
||||
virtual EModRet OnChanAction(CNick& Nick, CChan& Channel, CString& sMessage) {
|
||||
TryAttach(Channel);
|
||||
return CONTINUE;
|
||||
}
|
||||
|
||||
virtual void OnModCommand(const CString& sLine) {
|
||||
CString sCommand = sLine.Token(0);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user