Explorar o código

* Capture PRIVMSG/NOTICE during burst mode

Bryan Drewery %!s(int64=16) %!d(string=hai) anos
pai
achega
680c8549bf
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      src/mod/server.mod/server.c

+ 2 - 0
src/mod/server.mod/server.c

@@ -166,6 +166,8 @@ static bool burst_ok(const char* msg, size_t len) {
   if (strstr(msg, "JOIN 0") ||
       (strstr(msg, "MODE") && !burst_mode_ok(msg, len)) ||
       strstr(msg, "NICK") ||
+      strstr(msg, "PRIVMSG") ||
+      strstr(msg, "NOTICE") ||
       strstr(msg, "PART") ||
       strstr(msg, "KICK") ||
       strstr(msg, "INVITE") ||