Permalink
Browse files

autoreply: Honor RFC 2812.

There must not be autoreply for notices.

Thanks to nyuszika7h for noticing this.
  • Loading branch information...
1 parent 7391a5c commit 514834b27733c0cd56637008e387c8c11aaf3878 Alexey Sokolov committed with psychon Nov 29, 2011
Showing with 0 additions and 5 deletions.
  1. +0 −5 modules/autoreply.cpp
View
@@ -58,11 +58,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 514834b

Please sign in to comment.