Skip to content
Browse files

autoreply: Honor RFC 2812.

There must not be autoreply for notices.

Thanks to nyuszika7h for noticing this.
  • Loading branch information...
1 parent 142fdee commit eb66e580288aeac7a92494a4ab6b28c3ed851b2e Alexey Sokolov committed Nov 29, 2011
Showing with 0 additions and 5 deletions.
  1. +0 −5 modules/autoreply.cpp
View
5 modules/autoreply.cpp
@@ -63,11 +63,6 @@ class CAutoReplyMod : public CModule {
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;

0 comments on commit eb66e58

Please sign in to comment.
Something went wrong with that request. Please try again.