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:
1 parent
66fecf8e97
commit
9246dc3da4
1 file changed
+1
-1
@@ -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