X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fcmd_away.cpp;h=732cf9d91f9dd9e5274b6b9accb6aa02ada7292d;hb=77123f4dec9f29105f6c0ceea0262cfe8e9eaa1a;hp=4623dc7f78a2ca7e860a74f8b948802f278ba987;hpb=ecee8268b239c22cc68dd624779aae84e6020939;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/cmd_away.cpp b/src/cmd_away.cpp index 4623dc7f7..732cf9d91 100644 --- a/src/cmd_away.cpp +++ b/src/cmd_away.cpp @@ -14,31 +14,21 @@ * --------------------------------------------------- */ -using namespace std; - -#include "inspircd_config.h" -#include "inspircd.h" -#include "inspircd_io.h" -#include -#include -#include #include -#include +#include "inspircd_config.h" +#include "configreader.h" #include "users.h" -#include "ctables.h" -#include "globals.h" #include "modules.h" -#include "message.h" #include "commands.h" -#include "inspstring.h" -#include "dnsqueue.h" #include "helperfuncs.h" -#include "hashcomp.h" -#include "typedefs.h" #include "cmd_away.h" extern ServerConfig* Config; extern InspIRCd* ServerInstance; +extern int MODCOUNT; +extern std::vector modules; +extern std::vector factory; + void cmd_away::Handle (char **parameters, int pcnt, userrec *user) { @@ -55,5 +45,3 @@ void cmd_away::Handle (char **parameters, int pcnt, userrec *user) FOREACH_MOD(I_OnCancelAway,OnCancelAway(user)); } } - -