Просмотр исходного кода

Fix ctcp flood getting attributed to 'pub'

Bryan Drewery 14 лет назад
Родитель
Сommit
d17c62295e
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/mod/irc.mod/chan.c

+ 1 - 1
src/mod/irc.mod/chan.c

@@ -602,7 +602,7 @@ static bool detect_chan_flood(memberlist* m, const char *from, struct chanset_t
     lapse = chan->flood_ctcp_time;
     lapse = chan->flood_ctcp_time;
     mthr = chan->flood_mctcp_thr;
     mthr = chan->flood_mctcp_thr;
     mlapse = chan->flood_mctcp_time;
     mlapse = chan->flood_mctcp_time;
-    strlcpy(ftype, "pub", sizeof(ftype));
+    strlcpy(ftype, "ctcp", sizeof(ftype));
     break;
     break;
   case FLOOD_NICK:
   case FLOOD_NICK:
     thr = chan->flood_nick_thr;
     thr = chan->flood_nick_thr;