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

* Fixed cosmetic bug with removing ignores.

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

+ 1 - 0
doc/UPDATES

@@ -151,6 +151,7 @@ Lines prefixed with '-' were disabled before release and are not finished, or ar
 * Added var 'auth-obscure': Don't halt on dcc w/dccauth if the pass is wrong; halt at hash (right or wrong). (#100)
 * Added var 'autoaway': How long in seconds until an idle user is set away on dcc auto. (Def: 1800, 30min)
 * Added rate vars 'flood-msg' and 'flood-ctcp' to control how quickly a bot ignores on flood.
+* Fixed cosmetic bug with removing ignores.
 
 1.2.2
 * Don't sanity check flags for users on DCC CHAT if they are on the bot via .botcmd.

+ 1 - 1
src/mod/share.mod/share.c

@@ -771,9 +771,9 @@ share_mns_ignore(int idx, char *par)
 {
   if (dcc[idx].status & STAT_SHARE) {
     shareout_but(idx, "-i %s\n", par);
+    str_unescape(par, '\\');
     if (conf.bot->hub)
       putlog(LOG_CMDS, "@", "%s: cancel ignore %s", dcc[idx].nick, par);
-    str_unescape(par, '\\');
     noshare = 1;
     delignore(par);
     noshare = 0;