Browse Source

* Capture PRIVMSG/NOTICE during burst mode

Bryan Drewery 16 năm trước cách đây
mục cha
commit
680c8549bf
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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") ||