From 9246dc3da445ce99ad268e08686da0029a7d2017 Mon Sep 17 00:00:00 2001 From: Sam Dodrill Date: Sun, 1 Jun 2014 10:35:02 -0700 Subject: [PATCH] modules/autoreply: Prefer NOTICE over PRIVMSG Fixes RFC 1459 compliance and helps prevent bot loops between ZNC and other chatbots. Closes issue #556 --- modules/autoreply.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/autoreply.cpp b/modules/autoreply.cpp index 45e5e78d..1f104a25 100644 --- a/modules/autoreply.cpp +++ b/modules/autoreply.cpp @@ -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) {