add nick to cmd_addban kick reason
authorpk910 <philipp@zoelle1.de>
Thu, 8 Dec 2011 16:13:19 +0000 (17:13 +0100)
committerpk910 <philipp@zoelle1.de>
Thu, 8 Dec 2011 16:13:19 +0000 (17:13 +0100)
src/cmd_neonserv_addban.c

index e60261e38d87b90f18d839aa35d95ab843edce80..3bfc1c0d97508172d4221880987fd9f50962a4c2 100644 (file)
@@ -120,7 +120,7 @@ static void neonserv_cmd_addban_async1(struct ClientSocket *client, struct Clien
         cuser = chanuser->user;
         sprintf(usermask, "%s!%s@%s", cuser->nick, cuser->ident, cuser->host);
         if(!match(mask, usermask)) {
-            putsock(client, "KICK %s %s :%s", chan->name, cuser->nick, reason);
+            putsock(client, "KICK %s %s :(%s) %s", chan->name, cuser->nick, user->nick, reason);
         }
     }
     reply(textclient, user, "NS_ADDBAN_DONE", mask, chan->name, match_count);