diff options
Diffstat (limited to 'src')
42 files changed, 40 insertions, 32 deletions
diff --git a/src/cmd_admin.cpp b/src/cmd_admin.cpp index bbd4e0287..5f36d767c 100644 --- a/src/cmd_admin.cpp +++ b/src/cmd_admin.cpp @@ -11,6 +11,7 @@ * --------------------------------------------------- */ +#include "inspircd.h" #include "configreader.h" #include "users.h" #include "commands/cmd_admin.h" diff --git a/src/cmd_away.cpp b/src/cmd_away.cpp index 874881119..10f96c80b 100644 --- a/src/cmd_away.cpp +++ b/src/cmd_away.cpp @@ -11,6 +11,7 @@ * --------------------------------------------------- */ +#include "inspircd.h" #include "configreader.h" #include "users.h" #include "modules.h" diff --git a/src/cmd_clearcache.cpp b/src/cmd_clearcache.cpp index eecf3267f..daf8fa78b 100644 --- a/src/cmd_clearcache.cpp +++ b/src/cmd_clearcache.cpp @@ -11,6 +11,7 @@ * --------------------------------------------------- */ +#include "inspircd.h" #include "configreader.h" #include "users.h" #include "commands/cmd_clearcache.h" diff --git a/src/cmd_connect.cpp b/src/cmd_connect.cpp index 1a04e7713..fc3ae9d7a 100644 --- a/src/cmd_connect.cpp +++ b/src/cmd_connect.cpp @@ -11,6 +11,7 @@ * --------------------------------------------------- */ +#include "inspircd.h" #include "users.h" #include "commands/cmd_connect.h" diff --git a/src/cmd_die.cpp b/src/cmd_die.cpp index 12311480d..7f0a81df8 100644 --- a/src/cmd_die.cpp +++ b/src/cmd_die.cpp @@ -11,6 +11,7 @@ * --------------------------------------------------- */ +#include "inspircd.h" #include "configreader.h" #include "users.h" #include "commands/cmd_die.h" diff --git a/src/cmd_eline.cpp b/src/cmd_eline.cpp index f7031a108..c021f66ba 100644 --- a/src/cmd_eline.cpp +++ b/src/cmd_eline.cpp @@ -11,6 +11,7 @@ * --------------------------------------------------- */ +#include "inspircd.h" #include "configreader.h" #include "users.h" #include "modules.h" diff --git a/src/cmd_gline.cpp b/src/cmd_gline.cpp index a171fca85..608f93650 100644 --- a/src/cmd_gline.cpp +++ b/src/cmd_gline.cpp @@ -11,6 +11,7 @@ * --------------------------------------------------- */ +#include "inspircd.h" #include "configreader.h" #include "users.h" #include "modules.h" diff --git a/src/cmd_info.cpp b/src/cmd_info.cpp index 4b359607c..a05d2a2d2 100644 --- a/src/cmd_info.cpp +++ b/src/cmd_info.cpp @@ -11,6 +11,7 @@ * --------------------------------------------------- */ +#include "inspircd.h" #include "configreader.h" #include "users.h" #include "modules.h" diff --git a/src/cmd_invite.cpp b/src/cmd_invite.cpp index c9d4b2d8a..0eb3a2354 100644 --- a/src/cmd_invite.cpp +++ b/src/cmd_invite.cpp @@ -11,6 +11,7 @@ * --------------------------------------------------- */ +#include "inspircd.h" #include "configreader.h" #include "users.h" #include "modules.h" diff --git a/src/cmd_ison.cpp b/src/cmd_ison.cpp index 5ab03ba27..c76bf40e1 100644 --- a/src/cmd_ison.cpp +++ b/src/cmd_ison.cpp @@ -11,8 +11,8 @@ * --------------------------------------------------- */ -#include "users.h" #include "inspircd.h" +#include "users.h" #include "commands/cmd_ison.h" extern "C" DllExport command_t* init_command(InspIRCd* Instance) diff --git a/src/cmd_kick.cpp b/src/cmd_kick.cpp index 27552f66c..17933a43f 100644 --- a/src/cmd_kick.cpp +++ b/src/cmd_kick.cpp @@ -11,6 +11,7 @@ * --------------------------------------------------- */ +#include "inspircd.h" #include "users.h" #include "inspircd.h" #include "commands/cmd_kick.h" diff --git a/src/cmd_kline.cpp b/src/cmd_kline.cpp index 670cb2950..a72624342 100644 --- a/src/cmd_kline.cpp +++ b/src/cmd_kline.cpp @@ -11,6 +11,7 @@ * --------------------------------------------------- */ +#include "inspircd.h" #include "configreader.h" #include "users.h" #include "modules.h" diff --git a/src/cmd_links.cpp b/src/cmd_links.cpp index 1fe1bdcc0..83e558d5d 100644 --- a/src/cmd_links.cpp +++ b/src/cmd_links.cpp @@ -11,6 +11,7 @@ * --------------------------------------------------- */ +#include "inspircd.h" #include "configreader.h" #include "users.h" #include "modules.h" diff --git a/src/cmd_list.cpp b/src/cmd_list.cpp index d89def24f..ab073b9e8 100644 --- a/src/cmd_list.cpp +++ b/src/cmd_list.cpp @@ -11,6 +11,7 @@ * --------------------------------------------------- */ +#include "inspircd.h" #include "users.h" #include "inspircd.h" #include "commands/cmd_list.h" diff --git a/src/cmd_lusers.cpp b/src/cmd_lusers.cpp index c2ad9de49..fa58ca076 100644 --- a/src/cmd_lusers.cpp +++ b/src/cmd_lusers.cpp @@ -11,6 +11,7 @@ * --------------------------------------------------- */ +#include "inspircd.h" #include "users.h" #include "inspircd.h" #include "commands/cmd_lusers.h" diff --git a/src/cmd_map.cpp b/src/cmd_map.cpp index 0b7132c8f..c75a18b3f 100644 --- a/src/cmd_map.cpp +++ b/src/cmd_map.cpp @@ -11,6 +11,7 @@ * --------------------------------------------------- */ +#include "inspircd.h" #include "configreader.h" #include "users.h" #include "commands/cmd_map.h" diff --git a/src/cmd_mode.cpp b/src/cmd_mode.cpp index f48b81e3e..18c1e69ad 100644 --- a/src/cmd_mode.cpp +++ b/src/cmd_mode.cpp @@ -11,6 +11,7 @@ * --------------------------------------------------- */ +#include "inspircd.h" #include "configreader.h" #include "users.h" #include "commands/cmd_mode.h" diff --git a/src/cmd_motd.cpp b/src/cmd_motd.cpp index 0691e1aba..f6c76dac4 100644 --- a/src/cmd_motd.cpp +++ b/src/cmd_motd.cpp @@ -11,6 +11,7 @@ * --------------------------------------------------- */ +#include "inspircd.h" #include "users.h" #include "commands/cmd_motd.h" diff --git a/src/cmd_nick.cpp b/src/cmd_nick.cpp index 55ad50ec6..05fc8420f 100644 --- a/src/cmd_nick.cpp +++ b/src/cmd_nick.cpp @@ -11,10 +11,10 @@ * --------------------------------------------------- */ +#include "inspircd.h" #include "configreader.h" #include "users.h" #include "modules.h" -#include "inspircd.h" #include "xline.h" #include "commands/cmd_nick.h" diff --git a/src/cmd_notice.cpp b/src/cmd_notice.cpp index 0f084ffc3..f43b6cd20 100644 --- a/src/cmd_notice.cpp +++ b/src/cmd_notice.cpp @@ -11,14 +11,13 @@ * --------------------------------------------------- */ +#include "inspircd.h" #include "configreader.h" #include "users.h" #include "modules.h" #include "wildcard.h" #include "commands/cmd_notice.h" - - extern "C" DllExport command_t* init_command(InspIRCd* Instance) { return new cmd_notice(Instance); diff --git a/src/cmd_oper.cpp b/src/cmd_oper.cpp index 8e3520d6c..fd0af1ba5 100644 --- a/src/cmd_oper.cpp +++ b/src/cmd_oper.cpp @@ -11,6 +11,7 @@ * --------------------------------------------------- */ +#include "inspircd.h" #include "configreader.h" #include "typedefs.h" #include "users.h" diff --git a/src/cmd_part.cpp b/src/cmd_part.cpp index 7152a3c17..347466c22 100644 --- a/src/cmd_part.cpp +++ b/src/cmd_part.cpp @@ -15,8 +15,6 @@ #include "users.h" #include "commands/cmd_part.h" - - extern "C" DllExport command_t* init_command(InspIRCd* Instance) { return new cmd_part(Instance); diff --git a/src/cmd_pass.cpp b/src/cmd_pass.cpp index 22cea2c0f..29c83c3bf 100644 --- a/src/cmd_pass.cpp +++ b/src/cmd_pass.cpp @@ -11,11 +11,10 @@ * --------------------------------------------------- */ +#include "inspircd.h" #include "users.h" #include "commands/cmd_pass.h" - - extern "C" DllExport command_t* init_command(InspIRCd* Instance) { return new cmd_pass(Instance); diff --git a/src/cmd_ping.cpp b/src/cmd_ping.cpp index cb09f68be..afb708d70 100644 --- a/src/cmd_ping.cpp +++ b/src/cmd_ping.cpp @@ -11,12 +11,11 @@ * --------------------------------------------------- */ +#include "inspircd.h" #include "configreader.h" #include "users.h" #include "commands/cmd_ping.h" - - extern "C" DllExport command_t* init_command(InspIRCd* Instance) { return new cmd_ping(Instance); diff --git a/src/cmd_pong.cpp b/src/cmd_pong.cpp index fee5f1d48..c89542240 100644 --- a/src/cmd_pong.cpp +++ b/src/cmd_pong.cpp @@ -11,11 +11,10 @@ * --------------------------------------------------- */ +#include "inspircd.h" #include "users.h" #include "commands/cmd_pong.h" - - extern "C" DllExport command_t* init_command(InspIRCd* Instance) { return new cmd_pong(Instance); diff --git a/src/cmd_privmsg.cpp b/src/cmd_privmsg.cpp index a99f8a594..71e121a52 100644 --- a/src/cmd_privmsg.cpp +++ b/src/cmd_privmsg.cpp @@ -18,8 +18,6 @@ #include "wildcard.h" #include "commands/cmd_privmsg.h" - - extern "C" DllExport command_t* init_command(InspIRCd* Instance) { return new cmd_privmsg(Instance); diff --git a/src/cmd_qline.cpp b/src/cmd_qline.cpp index 2fea4cbd6..aa8933580 100644 --- a/src/cmd_qline.cpp +++ b/src/cmd_qline.cpp @@ -11,6 +11,7 @@ * --------------------------------------------------- */ +#include "inspircd.h" #include "configreader.h" #include "users.h" #include "modules.h" diff --git a/src/cmd_rehash.cpp b/src/cmd_rehash.cpp index 8298aa020..9823f1ab3 100644 --- a/src/cmd_rehash.cpp +++ b/src/cmd_rehash.cpp @@ -11,6 +11,7 @@ * --------------------------------------------------- */ +#include "inspircd.h" #include "configreader.h" #include "users.h" #include "modules.h" diff --git a/src/cmd_restart.cpp b/src/cmd_restart.cpp index 80ad49184..aece08591 100644 --- a/src/cmd_restart.cpp +++ b/src/cmd_restart.cpp @@ -11,12 +11,11 @@ * --------------------------------------------------- */ +#include "inspircd.h" #include "configreader.h" #include "users.h" #include "commands/cmd_restart.h" - - extern "C" DllExport command_t* init_command(InspIRCd* Instance) { return new cmd_restart(Instance); diff --git a/src/cmd_rules.cpp b/src/cmd_rules.cpp index 2a45a728b..95b744412 100644 --- a/src/cmd_rules.cpp +++ b/src/cmd_rules.cpp @@ -11,11 +11,10 @@ * --------------------------------------------------- */ +#include "inspircd.h" #include "users.h" #include "commands/cmd_rules.h" - - extern "C" DllExport command_t* init_command(InspIRCd* Instance) { return new cmd_rules(Instance); diff --git a/src/cmd_server.cpp b/src/cmd_server.cpp index 4c644861a..cace13c38 100644 --- a/src/cmd_server.cpp +++ b/src/cmd_server.cpp @@ -11,8 +11,8 @@ * --------------------------------------------------- */ -#include "users.h" #include "inspircd.h" +#include "users.h" #include "commands/cmd_server.h" diff --git a/src/cmd_squit.cpp b/src/cmd_squit.cpp index 3ddb60161..57105109b 100644 --- a/src/cmd_squit.cpp +++ b/src/cmd_squit.cpp @@ -11,6 +11,7 @@ * --------------------------------------------------- */ +#include "inspircd.h" #include "users.h" #include "commands/cmd_squit.h" diff --git a/src/cmd_summon.cpp b/src/cmd_summon.cpp index a136bcc15..520bdf090 100644 --- a/src/cmd_summon.cpp +++ b/src/cmd_summon.cpp @@ -11,11 +11,10 @@ * --------------------------------------------------- */ +#include "inspircd.h" #include "users.h" #include "commands/cmd_summon.h" - - extern "C" DllExport command_t* init_command(InspIRCd* Instance) { return new cmd_summon(Instance); diff --git a/src/cmd_time.cpp b/src/cmd_time.cpp index ca6369345..cd0f0e1c7 100644 --- a/src/cmd_time.cpp +++ b/src/cmd_time.cpp @@ -11,6 +11,7 @@ * --------------------------------------------------- */ +#include "inspircd.h" #include "configreader.h" #include "users.h" #include "commands/cmd_time.h" diff --git a/src/cmd_topic.cpp b/src/cmd_topic.cpp index 06036fe01..741558282 100644 --- a/src/cmd_topic.cpp +++ b/src/cmd_topic.cpp @@ -11,11 +11,11 @@ * --------------------------------------------------- */ +#include "inspircd.h" #include "configreader.h" #include "users.h" #include "modules.h" #include "commands/cmd_topic.h" -#include "inspircd.h" extern "C" DllExport command_t* init_command(InspIRCd* Instance) diff --git a/src/cmd_trace.cpp b/src/cmd_trace.cpp index a80a19b04..42105df98 100644 --- a/src/cmd_trace.cpp +++ b/src/cmd_trace.cpp @@ -11,12 +11,10 @@ * --------------------------------------------------- */ -#include "users.h" #include "inspircd.h" +#include "users.h" #include "commands/cmd_trace.h" - - extern "C" DllExport command_t* init_command(InspIRCd* Instance) { return new cmd_trace(Instance); diff --git a/src/cmd_user.cpp b/src/cmd_user.cpp index 386d0e5e8..dc224db76 100644 --- a/src/cmd_user.cpp +++ b/src/cmd_user.cpp @@ -11,12 +11,11 @@ * --------------------------------------------------- */ +#include "inspircd.h" #include "configreader.h" #include "users.h" #include "commands/cmd_user.h" - - extern "C" DllExport command_t* init_command(InspIRCd* Instance) { return new cmd_user(Instance); diff --git a/src/cmd_userhost.cpp b/src/cmd_userhost.cpp index b05bfd6f6..3fb495704 100644 --- a/src/cmd_userhost.cpp +++ b/src/cmd_userhost.cpp @@ -11,12 +11,10 @@ * --------------------------------------------------- */ -#include "users.h" #include "inspircd.h" +#include "users.h" #include "commands/cmd_userhost.h" - - extern "C" DllExport command_t* init_command(InspIRCd* Instance) { return new cmd_userhost(Instance); diff --git a/src/cmd_users.cpp b/src/cmd_users.cpp index e49abccb2..97b9b247d 100644 --- a/src/cmd_users.cpp +++ b/src/cmd_users.cpp @@ -11,11 +11,10 @@ * --------------------------------------------------- */ +#include "inspircd.h" #include "users.h" #include "commands/cmd_users.h" - - extern "C" DllExport command_t* init_command(InspIRCd* Instance) { return new cmd_users(Instance); diff --git a/src/cmd_wallops.cpp b/src/cmd_wallops.cpp index 7c1c25f55..d32b19ebd 100644 --- a/src/cmd_wallops.cpp +++ b/src/cmd_wallops.cpp @@ -11,6 +11,7 @@ * --------------------------------------------------- */ +#include "inspircd.h" #include "configreader.h" #include "modules.h" #include "commands/cmd_wallops.h" diff --git a/src/cmd_who.cpp b/src/cmd_who.cpp index 028ce3121..66a94cfd6 100644 --- a/src/cmd_who.cpp +++ b/src/cmd_who.cpp @@ -11,6 +11,7 @@ * --------------------------------------------------- */ +#include "inspircd.h" #include "configreader.h" #include "users.h" #include "modules.h" diff --git a/src/cmd_whowas.cpp b/src/cmd_whowas.cpp index 2030667a9..7f78a22ac 100644 --- a/src/cmd_whowas.cpp +++ b/src/cmd_whowas.cpp @@ -11,6 +11,7 @@ * --------------------------------------------------- */ +#include "inspircd.h" #include "configreader.h" #include "users.h" #include "commands/cmd_whowas.h" |