Explorar el Código

Merge branch 'slowjoin-groups' into maint

* slowjoin-groups:
  Fix cmd_slowjoin eating the first option due to missing space

Conflicts:
	doc/UPDATES
Bryan Drewery hace 13 años
padre
commit
bc3781dd9c
Se han modificado 2 ficheros con 2 adiciones y 1 borrados
  1. 1 0
      doc/UPDATES
  2. 1 1
      src/mod/channels.mod/cmdschan.c

+ 1 - 0
doc/UPDATES

@@ -1,6 +1,7 @@
 maint
   * Read in /etc/hosts on startup
   * Fix 'bl %group cmd' giving incorrect message when group/bots not found.
+  * 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

+ 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));