1 /* cmd_global.h - NeonServ v5.6
2 * Copyright (C) 2011-2012 Philipp Kreil (pk910)
4 * This program is free software: you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation, either version 3 of the License, or
7 * (at your option) any later version.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with this program. If not, see <http://www.gnu.org/licenses/>.
19 #include "../module.h"
21 #include "../../main.h"
22 #include "../../modcmd.h"
23 #include "../../IRCParser.h"
24 #include "../../IRCEvents.h"
25 #include "../../UserNode.h"
26 #include "../../ChanNode.h"
27 #include "../../ChanUser.h"
28 #include "../../ModeNode.h"
29 #include "../../BanNode.h"
30 #include "../../ClientSocket.h"
31 #include "../../mysqlConn.h"
32 #include "../../lang.h"
33 #include "../../HandleInfoHandler.h"
34 #include "../../WHOHandler.h"
35 #include "../../DBHelper.h"
36 #include "../../tools.h"
37 #include "../../timeq.h"
38 #include "../../version.h"
39 #include "../../EventLogger.h"
40 #include "../../bots.h"
42 void register_commands();
44 CMD_BIND(global_cmd_addbot);
45 CMD_BIND(global_cmd_bind);
46 CMD_BIND(global_cmd_bots);
47 CMD_BIND(global_cmd_command);
48 CMD_BIND(global_cmd_commands);
49 CMD_BIND(global_cmd_delbot);
50 CMD_BIND(global_cmd_die);
51 CMD_BIND(global_cmd_emote);
52 CMD_BIND(global_cmd_extscript);
53 CMD_BIND(global_cmd_global);
54 CMD_BIND(global_cmd_god);
55 CMD_BIND(global_cmd_meminfo);
56 CMD_BIND(global_cmd_modcmd);
57 CMD_BIND(global_cmd_motd);
58 CMD_BIND(global_cmd_move);
59 CMD_BIND(global_cmd_netinfo);
60 CMD_BIND(global_cmd_notice);
61 CMD_BIND(global_cmd_raw);
62 CMD_BIND(global_cmd_reconnect);
63 CMD_BIND(global_cmd_register);
64 CMD_BIND(global_cmd_reload);
65 CMD_BIND(global_cmd_restart);
66 CMD_BIND(global_cmd_reloadlang);
67 CMD_BIND(global_cmd_say);
68 CMD_BIND(global_cmd_setaccess);
69 CMD_BIND(global_cmd_setbot);
70 CMD_BIND(global_cmd_staff);
71 CMD_BIND(global_cmd_unbind);
72 CMD_BIND(global_cmd_unregister);
73 CMD_BIND(global_cmd_version);