From eb66e580288aeac7a92494a4ab6b28c3ed851b2e Mon Sep 17 00:00:00 2001 From: Alexey Sokolov Date: Tue, 29 Nov 2011 18:45:27 +0700 Subject: [PATCH] autoreply: Honor RFC 2812. There must not be autoreply for notices. Thanks to nyuszika7h for noticing this. --- modules/autoreply.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/modules/autoreply.cpp b/modules/autoreply.cpp index feb658c6..eebc6b9d 100644 --- a/modules/autoreply.cpp +++ b/modules/autoreply.cpp @@ -63,11 +63,6 @@ public: PutIRC("PRIVMSG " + sNick + " :" + GetReply()); } - virtual EModRet OnPrivNotice(CNick& Nick, CString& sMessage) { - Handle(Nick.GetNick()); - return CONTINUE; - } - virtual EModRet OnPrivMsg(CNick& Nick, CString& sMessage) { Handle(Nick.GetNick()); return CONTINUE;