prefix kick reason with the issuers nick
[NeonServV5.git] / src / cmd_neonserv_kick.c
index 373881ceb18994201e07bead95163ec878beb4fb..5eabf5dc2b7697a57f0189b102c4ce980fe067d3 100644 (file)
@@ -106,7 +106,7 @@ static void neonserv_cmd_kick_async1(struct ClientSocket *client, struct ClientS
                         cuser = chanuser->user;
                     }
                     kicked_users++;
-                    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);
                 }
             }
         } else {
@@ -127,7 +127,7 @@ static void neonserv_cmd_kick_async1(struct ClientSocket *client, struct ClientS
                 continue;
             }
             kicked_users++;
-            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);
         }
     }
     if(kicked_users == provided_nicks)