+ while (*currentNick)
+ currentNick++;
+
+ currentNick++;
+ nickCount--;
+ }
+ } else if (channelCount == nickCount) {
+ while (nickCount > 0) {
+ if (!try_kick(Client, from, currentNick,
+ currentChannel, reason))
+ return false;
+
+ while (*currentNick)
+ currentNick++;
+
+ while (*currentChannel)
+ currentChannel++;
+
+ currentNick++;
+ currentChannel++;
+ nickCount--;
+ }
+ } else {
+ IRC_SetPenalty(Client, 2);
+ return IRC_WriteErrClient(Client, ERR_NEEDMOREPARAMS_MSG,
+ Client_ID(Client), Req->command);
+ }
+ return true;
+} /* IRC_KICK */
+
+/**
+ * Handler for the IRC command "INVITE".
+ *
+ * @param Client The client from which this command has been received.
+ * @param Req Request structure with prefix and all parameters.
+ * @return CONNECTED or DISCONNECTED.
+ */