فهرست منبع

Fix cmd_slowjoin eating the first option due to missing space

Bryan Drewery 13 سال پیش
والد
کامیت
46b9e382d3
2فایلهای تغییر یافته به همراه3 افزوده شده و 1 حذف شده
  1. 2 0
      doc/UPDATES
  2. 1 1
      src/mod/channels.mod/cmdschan.c

+ 2 - 0
doc/UPDATES

@@ -1,3 +1,5 @@
+* Fix cmd_slowjoin eating the first channel option (This fixes groups support)
+
 1.4.3
   * Default 'set promisc' to ignore since it's usually a false positive
     and doesn't matter much.

+ 1 - 1
src/mod/channels.mod/cmdschan.c

@@ -551,7 +551,7 @@ static void cmd_slowjoin(int idx, char *par)
     return;
   }
 
-  simple_snprintf(buf, sizeof(buf), "+inactive addedby %s addedts %li", dcc[idx].nick, (long)now);
+  simple_snprintf(buf, sizeof(buf), "+inactive addedby %s addedts %li ", dcc[idx].nick, (long)now);
 
   if (par[0])
     strlcat(buf, par, sizeof(buf));