From: Kyle Fuller Date: Fri, 13 Jan 2017 03:04:14 +0000 (+0000) Subject: No longer provide push notifications for private NOTICEs X-Git-Tag: 1.1.0~2 X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=cd6097e332ba4001483caa9e636dfe6bce03e085;p=znc-palaver.git No longer provide push notifications for private NOTICEs --- diff --git a/CHANGELOG.md b/CHANGELOG.md index 0316e86..723124b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,9 @@ - Found your hostname - Got Ident response +- We no longer mention you with private NOTICEs, these are usually server or + service notices and rarely from a real user. + ### Bug Fixes - We now detect when building the module with an unsupported compiler and will diff --git a/palaver.cpp b/palaver.cpp index 99ca4d3..2907f61 100644 --- a/palaver.cpp +++ b/palaver.cpp @@ -1085,20 +1085,6 @@ public: return CONTINUE; } - virtual EModRet OnPrivNotice(CNick& Nick, CString& sMessage) { - const auto network = GetNetwork(); - - if (network) { - const auto sock = network->GetIRCSock(); - - if (sock && sock->IsAuthed()) { - ParseMessage(Nick, sMessage, NULL); - } - } - - return CONTINUE; - } - virtual EModRet OnPrivAction(CNick& Nick, CString& sMessage) { ParseMessage(Nick, sMessage, NULL, "ACTION"); return CONTINUE;