added GPL header to all files and added INSTALL AUTHORS COPYING files.
[NeonServV5.git] / src / cmd_neonserv_kick.c
index 373881ceb18994201e07bead95163ec878beb4fb..afe1f044aff7696c93cfe5c9d99d65c2069bb838 100644 (file)
@@ -1,3 +1,19 @@
+/* cmd_neonserv_kick.c - NeonServ v5.0
+ * Copyright (C) 2011  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
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ * 
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ * 
+ * You should have received a copy of the GNU General Public License 
+ * along with this program. If not, see <http://www.gnu.org/licenses/>. 
+ */
 
 #include "cmd_neonserv.h"
 
@@ -106,7 +122,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 +143,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)