Another year is about to end... So we have to update these damn copyright information :P
[NeonServV5.git] / src / cmd_neonserv_addban.c
index e60261e38d87b90f18d839aa35d95ab843edce80..fffadf53108180897450f31270b52b8b748fe1e3 100644 (file)
@@ -1,5 +1,5 @@
-/* cmd_neonserv_addban.c - NeonServ v5.2
- * Copyright (C) 2011  Philipp Kreil (pk910)
+/* cmd_neonserv_addban.c - NeonServ v5.3
+ * Copyright (C) 2011-2012  Philipp Kreil (pk910)
  * 
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -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);