X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fcmd_admin.cpp;h=735e593c7c6d3e8dd9e44b542b95fdbb113aebfa;hb=84a19a9ab6129deb71cdc24b216b74dd8eb80978;hp=75b799a6d605c7a8916e33045002dfb2c31d69ad;hpb=5cc228dd929b26ce5ce3346e6d1c91ee3b032c9d;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/cmd_admin.cpp b/src/cmd_admin.cpp index 75b799a6d..735e593c7 100644 --- a/src/cmd_admin.cpp +++ b/src/cmd_admin.cpp @@ -2,10 +2,10 @@ * | Inspire Internet Relay Chat Daemon | * +------------------------------------+ * - * Inspire is copyright (C) 2002-2005 ChatSpike-Dev. + * InspIRCd is copyright (C) 2002-2006 ChatSpike-Dev. * E-mail: - * - * + * + * * * Written by Craig Edwards, Craig McLure, and others. * This program is free but copyrighted software; see @@ -14,30 +14,13 @@ * --------------------------------------------------- */ -using namespace std; - -#include "inspircd_config.h" -#include "inspircd.h" -#include "inspircd_io.h" -#include -#include -#include -#include -#include +#include "configreader.h" #include "users.h" -#include "ctables.h" -#include "globals.h" -#include "wildcard.h" -#include "message.h" #include "commands.h" -#include "inspstring.h" #include "helperfuncs.h" -#include "hashcomp.h" -#include "typedefs.h" #include "cmd_admin.h" extern ServerConfig* Config; -extern InspIRCd* ServerInstance; void cmd_admin::Handle (char **parameters, int pcnt, userrec *user) { @@ -46,5 +29,3 @@ void cmd_admin::Handle (char **parameters, int pcnt, userrec *user) WriteServ(user->fd,"258 %s :Nickname - %s",user->nick,Config->AdminNick); WriteServ(user->fd,"258 %s :E-Mail - %s",user->nick,Config->AdminEmail); } - -