mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
modules/autoreply: Prefer NOTICE over PRIVMSG
Fixes RFC 1459 compliance and helps prevent bot loops between ZNC and other chatbots. Closes issue #556
This commit is contained in:
@@ -62,7 +62,7 @@ public:
|
||||
return;
|
||||
|
||||
m_Messaged.AddItem(sNick);
|
||||
PutIRC("PRIVMSG " + sNick + " :" + GetReply());
|
||||
PutIRC("NOTICE " + sNick + " :" + GetReply());
|
||||
}
|
||||
|
||||
virtual EModRet OnPrivMsg(CNick& Nick, CString& sMessage) {
|
||||
|
||||
Reference in New Issue
Block a user