Bryan Drewery 21 лет назад
Родитель
Сommit
af75103b8f
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/mod/irc.mod/mode.c

+ 1 - 1
src/mod/irc.mod/mode.c

@@ -1346,7 +1346,7 @@ gotmode(char *from, char *msg)
                   } else {
 /* FIXME: same thing here */
                     if (!match_my_nick(nick) && channel_voice(chan) && (glob_master(user) || chan_master(user) || glob_bot(user))
-                       && strcmp(nick, victim)) {
+                       && strcmp(nick, mparam)) {
                       /* if the user is not +q set them norEVOICE. */
                       if (!chan_quiet(victim) && !(mv->flags & EVOICE)) {
                         putlog(LOG_DEBUG, "@", "Giving EVOICE flag to: %s (%s)", mv->nick, chan->dname);