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:
psychon
2010-02-19 17:11:56 +00:00
parent 115b170890
commit 472bc6f5c7
+5
View File
@@ -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);