X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=ngircd-alex.git;a=blobdiff_plain;f=src%2Fngircd%2Firc-metadata.c;h=32e04516e07a273740c8115ad6cf3eb5651071a3;hp=b52512ab92afe5d08a47ff16777f04f774bb3b0a;hb=a13bb78b1e7adf7c261ac427341c397ef9a6a1ed;hpb=3af0ece2bcf550cccd7b647c111ce503c2faa459 diff --git a/src/ngircd/irc-metadata.c b/src/ngircd/irc-metadata.c index b52512ab..32e04516 100644 --- a/src/ngircd/irc-metadata.c +++ b/src/ngircd/irc-metadata.c @@ -1,6 +1,6 @@ /* * ngIRCd -- The Next Generation IRC Daemon - * Copyright (c)2001-2013 Alexander Barton (alex@barton.de) and Contributors. + * Copyright (c)2001-2014 Alexander Barton (alex@barton.de) and Contributors. * * 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 @@ -18,22 +18,16 @@ * IRC metadata commands */ -#include "imp.h" #include -#include +#include #include #include "conn-func.h" #include "channel.h" -#include "conn-encoding.h" #include "irc-write.h" #include "log.h" #include "messages.h" #include "parse.h" -#include "tool.h" - -#include "exp.h" -#include "irc-metadata.h" /** * Handler for the IRC+ "METADATA" command. @@ -51,10 +45,6 @@ IRC_METADATA(CLIENT *Client, REQUEST *Req) assert(Client != NULL); assert(Req != NULL); - if (Req->argc != 3) - return IRC_WriteErrClient(Client, ERR_NEEDMOREPARAMS_MSG, - Client_ID(Client), Req->command); - prefix = Client_Search(Req->prefix); if (!prefix) return IRC_WriteErrClient(Client, ERR_NOSUCHNICK_MSG,