Skip to content

Commit

Permalink
autoreply: Honor RFC 2812.
Browse files Browse the repository at this point in the history
There must not be autoreply for notices.

Thanks to nyuszika7h for noticing this.
  • Loading branch information
Alexey Sokolov committed Nov 29, 2011
1 parent 142fdee commit eb66e58
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions modules/autoreply.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit eb66e58

Please sign in to comment.