No longer provide push notifications for private NOTICEs
authorKyle Fuller <redacted>
Fri, 13 Jan 2017 03:04:14 +0000 (03:04 +0000)
committerKyle Fuller <redacted>
Thu, 13 Apr 2017 15:48:53 +0000 (16:48 +0100)
CHANGELOG.md
palaver.cpp

index 0316e86d79ed2baba87c3fb3ff40f4ae2fc70559..723124b1cf4e3250b4f7c1a430842e195deff478 100644 (file)
@@ -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
index 99ca4d3de8a89073eff6158d6289bc892efef58a..2907f61a0766661798aa0bac37edbb8f9f50ab36 100644 (file)
@@ -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;
git clone https://git.99rst.org/PROJECT