Explorar o código

* Fixed spaces being stripped in .botcmd reply.

svn: 2252
Bryan Drewery %!s(int64=21) %!d(string=hai) anos
pai
achega
56b9401273
Modificáronse 2 ficheiros con 3 adicións e 1 borrados
  1. 3 0
      doc/UPDATES
  2. 0 1
      src/botcmd.c

+ 3 - 0
doc/UPDATES

@@ -11,6 +11,9 @@ Lines prefixed with '-' were disabled before release and are not finished, or ar
 - Added cmd_iop which will invite the specified nick to a chan and then auto-op them upon joining (does a userhost)
 - Added cmd_iop which will invite the specified nick to a chan and then auto-op them upon joining (does a userhost)
 - Added hijacked invite detection based on server invite notices.
 - Added hijacked invite detection based on server invite notices.
 
 
+1.2.5
+* Fixed spaces being stripped in .botcmd reply.
+
 1.2.4
 1.2.4
 * Fixed cmd_botset not displaying botnick.
 * Fixed cmd_botset not displaying botnick.
 * cmd_adduser now sends a NOTICE to the person being added with their initial password.
 * cmd_adduser now sends a NOTICE to the person being added with their initial password.

+ 0 - 1
src/botcmd.c

@@ -1261,7 +1261,6 @@ static void bot_rsimr(char *botnick, char *code, char *msg)
 
 
     prefix = (char *) my_calloc(1, size);
     prefix = (char *) my_calloc(1, size);
     simple_snprintf(prefix, size, "[%s] ", botnick);
     simple_snprintf(prefix, size, "[%s] ", botnick);
-    rmspace(par);
     dumplots(idx, prefix, par);
     dumplots(idx, prefix, par);
     free(prefix);
     free(prefix);
     free(parp);
     free(parp);