From 37757482701b2ed5bd7baee03f9c4bee7228200f Mon Sep 17 00:00:00 2001 From: psychon Date: Wed, 30 Apr 2008 14:09:15 +0000 Subject: [PATCH] watch: Remove the raw /watch command There is actually a 'real' /watch command which was blocked by this. git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1035 726aef4b-f618-498e-8847-2d620e286838 --- modules/watch.cpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/modules/watch.cpp b/modules/watch.cpp index 9c7ef9c6..4cd8d745 100644 --- a/modules/watch.cpp +++ b/modules/watch.cpp @@ -172,15 +172,6 @@ public: m_Buffer.Clear(); } - virtual EModRet OnUserRaw(CString& sLine) { - if (strncasecmp(sLine.c_str(), "WATCH ", 6) == 0) { - Watch(sLine.Token(1), sLine.Token(2), sLine.Token(3, true), true); - return HALT; - } - - return CONTINUE; - } - virtual void OnKick(const CNick& OpNick, const CString& sKickedNick, CChan& Channel, const CString& sMessage) { Process(OpNick, "* " + OpNick.GetNick() + " kicked " + sKickedNick + " from " + Channel.GetName() + " because [" + sMessage + "]", Channel.GetName()); }