X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fcmd_admin.cpp;h=8ca05a523cb48ccb3b92965b847e4c7e9b4e71aa;hb=db07867e945deb72ce103f796e20104a27c5f68a;hp=f7f49d8262a9edcba07a7e0a27a9446876dd4510;hpb=53779665a9c118e1092546fa1447788f33e2e50d;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/cmd_admin.cpp b/src/cmd_admin.cpp index f7f49d826..8ca05a523 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,31 +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" +#include "commands/cmd_admin.h" extern ServerConfig* Config; -extern InspIRCd* ServerInstance; void cmd_admin::Handle (char **parameters, int pcnt, userrec *user) { @@ -47,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); } - -