X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fcommands.h;h=24fad4b3c125010f369d33b5de09477313d81dc7;hb=ea3ba4bfd1b072b4f14fb588286eedd0ea8c1d22;hp=ff6106cb6e6c2c0f4e80efa46ee96f5907c61fba;hpb=293df6a8b55e89c127e60e92711ef0ef1027bff8;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/commands.h b/include/commands.h index ff6106cb6..24fad4b3c 100644 --- a/include/commands.h +++ b/include/commands.h @@ -2,7 +2,7 @@ * | Inspire Internet Relay Chat Daemon | * +------------------------------------+ * - * Inspire is copyright (C) 2002-2005 ChatSpike-Dev. + * InspIRCd is copyright (C) 2002-2006 ChatSpike-Dev. * E-mail: * * @@ -27,68 +27,68 @@ #include #include "users.h" #include "channels.h" +#include "modules.h" -char* CleanFilename(char* name); -bool is_uline(const char* server); -long duration(const char* str); -void do_whois(userrec* user, userrec* dest,unsigned long signon, unsigned long idle, char* nick); -bool host_matches_everyone(std::string mask, userrec* user); -bool ip_matches_everyone(std::string ip, userrec* user); -bool nick_matches_everyone(std::string nick, userrec* user); -int operstrcmp(char* data,char* input); +/* XXX Serious WTFness XXX + * + * Well, unless someone invents a wildcard or + * regexp #include, and makes it a standard, + * we're stuck with this way of including all + * the commands. + */ -#include "cmd_admin.h" -#include "cmd_away.h" -#include "cmd_commands.h" -#include "cmd_connect.h" -#include "cmd_die.h" -#include "cmd_eline.h" -#include "cmd_gline.h" -#include "cmd_info.h" -#include "cmd_invite.h" -#include "cmd_ison.h" -#include "cmd_join.h" -#include "cmd_kick.h" -#include "cmd_kill.h" -#include "cmd_kline.h" -#include "cmd_links.h" -#include "cmd_list.h" -#include "cmd_loadmodule.h" -#include "cmd_lusers.h" -#include "cmd_map.h" -#include "cmd_modules.h" -#include "cmd_motd.h" -#include "cmd_names.h" -#include "cmd_nick.h" -#include "cmd_notice.h" -#include "cmd_oper.h" -#include "cmd_part.h" -#include "cmd_pass.h" -#include "cmd_ping.h" -#include "cmd_pong.h" -#include "cmd_privmsg.h" -#include "cmd_qline.h" -#include "cmd_quit.h" -#include "cmd_rehash.h" -#include "cmd_restart.h" -#include "cmd_rules.h" -#include "cmd_server.h" -#include "cmd_squit.h" -#include "cmd_stats.h" -#include "cmd_summon.h" -#include "cmd_time.h" -#include "cmd_topic.h" -#include "cmd_trace.h" -#include "cmd_unloadmodule.h" -#include "cmd_user.h" -#include "cmd_userhost.h" -#include "cmd_users.h" -#include "cmd_version.h" -#include "cmd_wallops.h" -#include "cmd_who.h" -#include "cmd_whois.h" -#include "cmd_whowas.h" -#include "cmd_zline.h" +#include "commands/cmd_admin.h" +#include "commands/cmd_away.h" +#include "commands/cmd_commands.h" +#include "commands/cmd_connect.h" +#include "commands/cmd_die.h" +#include "commands/cmd_eline.h" +#include "commands/cmd_gline.h" +#include "commands/cmd_info.h" +#include "commands/cmd_invite.h" +#include "commands/cmd_ison.h" +#include "commands/cmd_join.h" +#include "commands/cmd_kick.h" +#include "commands/cmd_kill.h" +#include "commands/cmd_kline.h" +#include "commands/cmd_links.h" +#include "commands/cmd_list.h" +#include "commands/cmd_loadmodule.h" +#include "commands/cmd_lusers.h" +#include "commands/cmd_map.h" +#include "commands/cmd_modules.h" +#include "commands/cmd_motd.h" +#include "commands/cmd_names.h" +#include "commands/cmd_nick.h" +#include "commands/cmd_notice.h" +#include "commands/cmd_oper.h" +#include "commands/cmd_part.h" +#include "commands/cmd_pass.h" +#include "commands/cmd_ping.h" +#include "commands/cmd_pong.h" +#include "commands/cmd_privmsg.h" +#include "commands/cmd_qline.h" +#include "commands/cmd_quit.h" +#include "commands/cmd_rehash.h" +#include "commands/cmd_restart.h" +#include "commands/cmd_rules.h" +#include "commands/cmd_server.h" +#include "commands/cmd_squit.h" +#include "commands/cmd_stats.h" +#include "commands/cmd_summon.h" +#include "commands/cmd_time.h" +#include "commands/cmd_topic.h" +#include "commands/cmd_trace.h" +#include "commands/cmd_unloadmodule.h" +#include "commands/cmd_user.h" +#include "commands/cmd_userhost.h" +#include "commands/cmd_users.h" +#include "commands/cmd_version.h" +#include "commands/cmd_wallops.h" +#include "commands/cmd_who.h" +#include "commands/cmd_whois.h" +#include "commands/cmd_whowas.h" +#include "commands/cmd_zline.h" #endif