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

* Fixed 'chanset *' not working.

svn: 2216
Bryan Drewery 21 лет назад
Родитель
Сommit
6172ce6c37
2 измененных файлов с 2 добавлено и 1 удалено
  1. 1 0
      doc/UPDATES
  2. 1 1
      src/mod/channels.mod/cmdschan.c

+ 1 - 0
doc/UPDATES

@@ -19,6 +19,7 @@ Lines prefixed with '-' were disabled before release and are not finished, or ar
 * cmd_adduser now sends a NOTICE to the person being added with their initial password.
 * Fixed cmd_conf not working at all.
 * When msging bot for op, a NOTICE is sent to user if the channel is set to no manop.
+* Fixed 'chanset *' not working.
 
 1.2.3
 

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

@@ -1306,7 +1306,7 @@ static void cmd_chanset(int idx, char *par)
     }
   }
 
-  putlog(LOG_CMDS, "*", "#%s# chanset (%s) %s", dcc[idx].nick, chan->dname, par);
+  putlog(LOG_CMDS, "*", "#%s# chanset (%s) %s", dcc[idx].nick, all ? "*" : chan->dname, par);
   
   if (do_chanset(result, all ? NULL : chan, par, DO_LOCAL | DO_NET) == ERROR) {
     dprintf(idx, "Error trying to set { %s } on %s: %s\n", par, all ? "all channels" : chan->dname, result);