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

* Fixed users not being deopped in +bitch channels after being removed from the botnet. (#112)

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

+ 1 - 0
doc/UPDATES

@@ -137,6 +137,7 @@ Lines prefixed with '-' were disabled before release and are not finished, or ar
 * Several cmds were not saving userfile: -/+chrec|ban|exempt|invite, [un]stick, chinfo (#68)
 * Changes to console flag requirements: +rbh (PERM OWNER), +vd (+a), +egu (+n). (#99)
 * cmd_botcmd blocks the following cmds for '*': die, restard, suicide, jump. (#17)
+* Fixed users not being deopped in +bitch channels after being removed from the botnet. (#112)
 
 ----- MISC CHANGES -----
 

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

@@ -486,6 +486,7 @@ share_killuser(int idx, char *par)
   if ((dcc[idx].status & STAT_SHARE) && (u = get_user_by_handle(userlist, par))) {
 
     noshare = 1;
+    check_this_user(u->handle, 1, NULL);
     if (deluser(par)) {
       shareout_but(idx, "k %s\n", par);
       if (conf.bot->hub)