* for the client introduction code in here, youre in the wrong place.
* You need to look in the spanningtree module for this!
*/
-CmdResult CommandNick::Handle (const char** parameters, int pcnt, User *user)
+CmdResult CommandNick::Handle (const char** parameters, int, User *user)
{
char oldnick[NICKMAX];
}
else
{
- QLine* mq = ServerInstance->XLines->matches_qline(parameters[0]);
+ XLine* mq = ServerInstance->XLines->MatchesLine("Q",parameters[0]);
if (mq)
{
ServerInstance->SNO->WriteToSnoMask('x', "Q-Lined nickname %s from %s!%s@%s: %s", parameters[0], user->nick, user->ident, user->host, mq->reason);
}
-CmdResult CommandNick::HandleInternal(const unsigned int id, const std::deque<classbase*> ¶meters)
+CmdResult CommandNick::HandleInternal(const unsigned int id, const std::deque<classbase*>&)
{
allowinvalid = (id != 0);
return CMD_SUCCESS;