]>
Commit | Line | Data |
---|---|---|
649d7700 LM |
1 | /************************************************************************ |
2 | * IRC - Internet Relay Chat, include/msg.h | |
3 | * Copyright (C) 1990 Jarkko Oikarinen and | |
4 | * University of Oulu, Computing Center | |
5 | * | |
6 | * This program is free software; you can redistribute it and/or modify | |
7 | * it under the terms of the GNU General Public License as published by | |
8 | * the Free Software Foundation; either version 1, or (at your option) | |
9 | * any later version. | |
10 | * | |
11 | * This program is distributed in the hope that it will be useful, | |
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 | * GNU General Public License for more details. | |
15 | * | |
16 | * You should have received a copy of the GNU General Public License | |
17 | * along with this program; if not, write to the Free Software | |
18 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |
19 | * | |
20 | */ | |
21 | ||
649d7700 LM |
22 | #ifndef __msg_include__ |
23 | #define __msg_include__ | |
24 | ||
57d9de15 AW |
25 | #define MSG_PRIVATE "PRIVMSG" /* PRIV */ |
26 | #define MSG_WHO "WHO" /* WHO -> WHOC */ | |
27 | #define MSG_WHOIS "WHOIS" /* WHOI */ | |
28 | #define MSG_WHOWAS "WHOWAS" /* WHOW */ | |
29 | #define MSG_USER "USER" /* USER */ | |
30 | #define MSG_NICK "NICK" /* NICK */ | |
31 | #define MSG_SERVER "SERVER" /* SERV */ | |
32 | #define MSG_LIST "LIST" /* LIST */ | |
33 | #define MSG_TOPIC "TOPIC" /* TOPI */ | |
34 | #define MSG_INVITE "INVITE" /* INVI */ | |
35 | #define MSG_VERSION "VERSION" /* VERS */ | |
36 | #define MSG_QUIT "QUIT" /* QUIT */ | |
37 | #define MSG_SQUIT "SQUIT" /* SQUI */ | |
38 | #define MSG_KILL "KILL" /* KILL */ | |
39 | #define MSG_INFO "INFO" /* INFO */ | |
40 | #define MSG_LINKS "LINKS" /* LINK */ | |
41 | #define MSG_STATS "STATS" /* STAT */ | |
42 | #define MSG_USERS "USERS" /* USER -> USRS */ | |
43 | #define MSG_HELP "HELP" /* HELP */ | |
44 | #define MSG_ERROR "ERROR" /* ERRO */ | |
45 | #define MSG_AWAY "AWAY" /* AWAY */ | |
46 | #define MSG_CONNECT "CONNECT" /* CONN */ | |
47 | #define MSG_PING "PING" /* PING */ | |
48 | #define MSG_PONG "PONG" /* PONG */ | |
49 | #define MSG_OPER "OPER" /* OPER */ | |
50 | #define MSG_PASS "PASS" /* PASS */ | |
51 | #define MSG_WALLOPS "WALLOPS" /* WALL */ | |
52 | #define MSG_TIME "TIME" /* TIME */ | |
53 | #define MSG_NAMES "NAMES" /* NAME */ | |
54 | #define MSG_ADMIN "ADMIN" /* ADMI */ | |
55 | #define MSG_TRACE "TRACE" /* TRAC */ | |
56 | #define MSG_NOTICE "NOTICE" /* NOTI */ | |
57 | #define MSG_JOIN "JOIN" /* JOIN */ | |
58 | #define MSG_PART "PART" /* PART */ | |
59 | #define MSG_LUSERS "LUSERS" /* LUSE */ | |
60 | #define MSG_MOTD "MOTD" /* MOTD */ | |
61 | #define MSG_MODE "MODE" /* MODE */ | |
62 | #define MSG_KICK "KICK" /* KICK */ | |
63 | #define MSG_USERHOST "USERHOST" /* USER -> USRH */ | |
e19e6422 | 64 | #define MSG_USERIP "USERIP" /* USER -> USRH */ |
57d9de15 AW |
65 | #define MSG_ISON "ISON" /* ISON */ |
66 | #define MSG_REHASH "REHASH" /* REHA */ | |
67 | #define MSG_RESTART "RESTART" /* REST */ | |
68 | #define MSG_CLOSE "CLOSE" /* CLOS */ | |
69 | #define MSG_SVINFO "SVINFO" /* SVINFO */ | |
70 | #define MSG_SJOIN "SJOIN" /* SJOIN */ | |
71 | #define MSG_DIE "DIE" /* DIE */ | |
72 | #define MSG_HASH "HASH" /* HASH */ | |
73 | #define MSG_DNS "DNS" /* DNS -> DNSS */ | |
74 | #define MSG_OPERWALL "OPERWALL" /* OPERWALL */ | |
75 | #define MSG_GLOBOPS "GLOBOPS" /* GLOBOPS */ | |
76 | #define MSG_CHATOPS "CHATOPS" /* CHATOPS */ | |
77 | #define MSG_GOPER "GOPER" /* GOPER */ | |
78 | #define MSG_GNOTICE "GNOTICE" /* GNOTICE */ | |
79 | #define MSG_KLINE "KLINE" /* KLINE */ | |
57d9de15 | 80 | #define MSG_UNKLINE "UNKLINE" /* UNKLINE */ |
57d9de15 AW |
81 | #define MSG_SET "SET" /* SET */ |
82 | #define MSG_SAMODE "SAMODE" /* SAMODE */ | |
214a09cc | 83 | #define MSG_SAJOIN "SAJOIN" /* SAJOIN */ |
57d9de15 AW |
84 | #define MSG_CHANSERV "CHANSERV" /* CHANSERV */ |
85 | #define MSG_NICKSERV "NICKSERV" /* NICKSERV */ | |
86 | #define MSG_MEMOSERV "MEMOSERV" /* MEMOSERV */ | |
f8dcb9d4 | 87 | #define MSG_ROOTSERV "ROOTSERV" /* MEMOSERV */ |
57d9de15 AW |
88 | #define MSG_OPERSERV "OPERSERV" /* OPERSERV */ |
89 | #define MSG_STATSERV "STATSERV" /* STATSERV */ | |
f8dcb9d4 | 90 | #define MSG_HELPSERV "HELPSERV" /* HELPSERV */ |
57d9de15 AW |
91 | #define MSG_SERVICES "SERVICES" /* SERVICES */ |
92 | #define MSG_IDENTIFY "IDENTIFY" /* IDENTIFY */ | |
93 | #define MSG_CAPAB "CAPAB" /* CAPAB */ | |
94 | #define MSG_LOCOPS "LOCOPS" /* LOCOPS */ | |
95 | #define MSG_SVSNICK "SVSNICK" /* SVSNICK */ | |
96 | #define MSG_SVSNOOP "SVSNOOP" /* SVSNOOP */ | |
97 | #define MSG_SVSKILL "SVSKILL" /* SVSKILL */ | |
98 | #define MSG_SVSMODE "SVSMODE" /* SVSMODE */ | |
b4894ed3 | 99 | #define MSG_SVSHOLD "SVSHOLD" /* SVSHOLD */ |
57d9de15 AW |
100 | #define MSG_AKILL "AKILL" /* AKILL */ |
101 | #define MSG_RAKILL "RAKILL" /* RAKILL */ | |
2ad1aaca | 102 | #define MSG_NBANRESET "NBANRESET" /* NBANRESET */ |
57d9de15 AW |
103 | #define MSG_SILENCE "SILENCE" /* SILENCE */ |
104 | #define MSG_WATCH "WATCH" /* WATCH */ | |
105 | #define MSG_SQLINE "SQLINE" /* SQLINE */ | |
106 | #define MSG_UNSQLINE "UNSQLINE" /* UNSQLINE */ | |
107 | #define MSG_BURST "BURST" /* BURST */ | |
d62cb3de | 108 | #define MSG_DCCALLOW "DCCALLOW" /* dccallow */ |
ff45b52a JS |
109 | #define MSG_SGLINE "SGLINE" /* sgline */ |
110 | #define MSG_UNSGLINE "UNSGLINE" /* unsgline */ | |
a24eebab | 111 | #define MSG_DKEY "DKEY" /* diffie-hellman negotiation */ |
dc8a29f6 R |
112 | #define MSG_NS "NS" /* NickServ commands */ |
113 | #define MSG_CS "CS" /* ChanServ commands */ | |
114 | #define MSG_MS "MS" /* MemoServ commands */ | |
115 | #define MSG_RS "RS" /* RootServ commands */ | |
116 | #define MSG_OS "OS" /* OperServ commands */ | |
117 | #define MSG_SS "SS" /* StatServ commands */ | |
b42b7e7a | 118 | #define MSG_HS "HS" /* StatServ commands */ |
80c77109 | 119 | #define MSG_RESYNCH "RESYNCH" /* RESYNCH */ |
76084d39 | 120 | #define MSG_LUSERSLOCK "LUSERSLOCK" /* Lusers LOCK */ |
a6850ad5 | 121 | #define MSG_LINKSCONTROL "LINKSCONTROL" /* LINKSCONTROL */ |
795f5703 | 122 | #define MSG_MODULE "MODULE" /* MODULE */ |
3e015d85 | 123 | #define MSG_RWHO "RWHO" /* RWHO */ |
c798fdab | 124 | #define MSG_SVSCLONE "SVSCLONE" /* SVSCLONE */ |
05a6705d | 125 | #define MSG_SVSPANIC "SVSPANIC" /* SVSPANIC */ |
90373658 | 126 | #define MSG_CHANKILL "CHANKILL" /* CHANKILL */ |
b7f33b79 | 127 | #define MSG_SVSHOST "SVSHOST" /* SVSHOST */ |
02e7148f | 128 | #define MSG_SVSTAG "SVSTAG" /* SVSTAG */ |
0d79931d | 129 | #define MSG_SVSUHM "SVSUHM" /* SVSUHM */ |
6ed60fee TT |
130 | #define MSG_PUT "PUT" /* PUT */ |
131 | #define MSG_POST "POST" /* POST */ | |
ffc14e0f | 132 | #define MSG_CHECK "CHECK" /* CHECK */ |
ff45b52a | 133 | |
a86bfecd NC |
134 | #define MSG_WEBIRC "WEBIRC" /* WEBIRC */ |
135 | ||
649d7700 LM |
136 | #define MAXPARA 15 |
137 | ||
138 | extern int m_kline(aClient *, aClient *, int, char **); | |
139 | extern int m_unkline(aClient *, aClient *, int, char **); | |
649d7700 LM |
140 | extern int m_akill(aClient *, aClient *, int, char **); |
141 | extern int m_rakill(aClient *, aClient *, int, char **); | |
2ad1aaca | 142 | extern int m_nbanreset(aClient *, aClient *, int, char **); |
649d7700 LM |
143 | extern int m_locops(aClient *, aClient *, int, char **); |
144 | extern int m_private(aClient *, aClient *, int, char **); | |
145 | extern int m_topic(aClient *, aClient *, int, char **); | |
146 | extern int m_join(aClient *, aClient *, int, char **); | |
147 | extern int m_part(aClient *, aClient *, int, char **); | |
148 | extern int m_mode(aClient *, aClient *, int, char **); | |
149 | extern int m_ping(aClient *, aClient *, int, char **); | |
150 | extern int m_pong(aClient *, aClient *, int, char **); | |
151 | extern int m_wallops(aClient *, aClient *, int, char **); | |
152 | extern int m_kick(aClient *, aClient *, int, char **); | |
153 | extern int m_nick(aClient *, aClient *, int, char **); | |
154 | extern int m_error(aClient *, aClient *, int, char **); | |
155 | extern int m_notice(aClient *, aClient *, int, char **); | |
156 | extern int m_invite(aClient *, aClient *, int, char **); | |
157 | extern int m_quit(aClient *, aClient *, int, char **); | |
158 | extern int m_kill(aClient *, aClient *, int, char **); | |
159 | extern int m_motd(aClient *, aClient *, int, char **); | |
160 | extern int m_who(aClient *, aClient *, int, char **); | |
161 | extern int m_whois(aClient *, aClient *, int, char **); | |
162 | extern int m_user(aClient *, aClient *, int, char **); | |
163 | extern int m_list(aClient *, aClient *, int, char **); | |
164 | extern int m_server(aClient *, aClient *, int, char **); | |
165 | extern int m_info(aClient *, aClient *, int, char **); | |
166 | extern int m_links(aClient *, aClient *, int, char **); | |
167 | extern int m_summon(aClient *, aClient *, int, char **); | |
168 | extern int m_stats(aClient *, aClient *, int, char **); | |
169 | extern int m_users(aClient *, aClient *, int, char **); | |
649d7700 LM |
170 | extern int m_services(aClient *, aClient *, int, char **); |
171 | extern int m_identify(aClient *, aClient *, int, char **); | |
8f39886b | 172 | extern int m_aliased(aClient *, aClient *, int, char **, AliasInfo *); |
649d7700 | 173 | extern int m_svsnick(aClient *, aClient *, int, char **); |
649d7700 LM |
174 | extern int m_svskill(aClient *, aClient *, int, char **); |
175 | extern int m_svsmode(aClient *, aClient *, int, char **); | |
b4894ed3 | 176 | extern int m_svshold(aClient *, aClient *, int, char **); |
649d7700 LM |
177 | extern int m_version(aClient *, aClient *, int, char **); |
178 | extern int m_help(aClient *, aClient *, int, char **); | |
179 | extern int m_squit(aClient *, aClient *, int, char **); | |
180 | extern int m_away(aClient *, aClient *, int, char **); | |
181 | extern int m_connect(aClient *, aClient *, int, char **); | |
182 | extern int m_oper(aClient *, aClient *, int, char **); | |
183 | extern int m_pass(aClient *, aClient *, int, char **); | |
184 | extern int m_trace(aClient *, aClient *, int, char **); | |
185 | extern int m_time(aClient *, aClient *, int, char **); | |
186 | extern int m_names(aClient *, aClient *, int, char **); | |
187 | extern int m_admin(aClient *, aClient *, int, char **); | |
188 | extern int m_lusers(aClient *, aClient *, int, char **); | |
189 | extern int m_umode(aClient *, aClient *, int, char **); | |
190 | extern int m_close(aClient *, aClient *, int, char **); | |
191 | extern int m_motd(aClient *, aClient *, int, char **); | |
192 | extern int m_whowas(aClient *, aClient *, int, char **); | |
193 | extern int m_userhost(aClient *, aClient *, int, char **); | |
e19e6422 | 194 | extern int m_userip(aClient *, aClient *, int, char **); |
649d7700 LM |
195 | extern int m_ison(aClient *, aClient *, int, char **); |
196 | extern int m_svinfo(aClient *, aClient *, int, char **); | |
197 | extern int m_sjoin(aClient *, aClient *, int, char **); | |
198 | extern int m_samode(aClient *, aClient *, int, char **); | |
214a09cc | 199 | extern int m_sajoin(aClient *, aClient *, int, char **); |
649d7700 LM |
200 | extern int m_globops(aClient *, aClient *, int, char **); |
201 | extern int m_chatops(aClient *, aClient *, int, char **); | |
202 | extern int m_goper(aClient *, aClient *, int, char **); | |
203 | extern int m_gnotice(aClient *, aClient *, int, char **); | |
204 | extern int m_rehash(aClient *, aClient *, int, char **); | |
205 | extern int m_restart(aClient *, aClient *, int, char **); | |
206 | extern int m_die(aClient *, aClient *, int, char **); | |
207 | extern int m_hash(aClient *, aClient *, int, char **); | |
208 | extern int m_dns(aClient *, aClient *, int, char **); | |
649d7700 LM |
209 | extern int m_set(aClient *, aClient *, int, char **); |
210 | extern int m_capab(aClient *, aClient *, int, char **); | |
211 | extern int m_silence(aClient *, aClient *, int, char **); | |
57d9de15 AW |
212 | extern int m_watch(aClient *, aClient *, int, char **); |
213 | extern int m_sqline(aClient *, aClient *, int, char **); | |
214 | extern int m_unsqline(aClient *, aClient *, int, char **); | |
215 | extern int m_burst(aClient *, aClient *, int, char **); | |
d62cb3de | 216 | extern int m_dccallow(aClient *, aClient *, int, char **); |
ff45b52a JS |
217 | extern int m_sgline(aClient *, aClient *, int, char **); |
218 | extern int m_unsgline(aClient *, aClient *, int, char **); | |
a24eebab | 219 | extern int m_dkey(aClient *, aClient *, int, char **); |
80c77109 | 220 | extern int m_resynch(aClient *, aClient *, int, char **); |
76084d39 | 221 | extern int m_luserslock(aClient *, aClient *, int, char **); |
a6850ad5 | 222 | extern int m_linkscontrol(aClient *, aClient *, int, char **); |
795f5703 | 223 | extern int m_module(aClient *, aClient *, int, char **); |
3e015d85 | 224 | extern int m_rwho(aClient *, aClient *, int, char **); |
c798fdab | 225 | extern int m_svsclone(aClient *, aClient *, int, char **); |
05a6705d | 226 | extern int m_svspanic(aClient *, aClient *, int, char **); |
90373658 | 227 | extern int m_chankill(aClient *, aClient *, int, char **); |
b7f33b79 | 228 | extern int m_svshost(aClient *, aClient *, int, char **); |
d23b31db | 229 | extern int m_svsnoop(aClient *, aClient *, int, char **); |
02e7148f | 230 | extern int m_svstag(aClient *, aClient *, int, char **); |
0d79931d | 231 | extern int m_svsuhm(aClient *, aClient *, int, char **); |
6ed60fee TT |
232 | extern int m_put(aClient *, aClient *, int, char **); |
233 | extern int m_post(aClient *, aClient *, int, char **); | |
ffc14e0f | 234 | extern int m_check(aClient *, aClient *, int, char **); |
a86bfecd | 235 | extern int m_webirc(aClient *, aClient *, int, char **); |
804c54f1 KS |
236 | extern int m_spamops(aClient *, aClient *, int, char **); |
237 | extern int m_sf(aClient *, aClient *, int, char **); | |
868e1a2a | 238 | extern int m_svsxcf(aClient *, aClient *, int, char **); |
b614f039 | 239 | |
8f39886b TT |
240 | /* aliastab indexes */ |
241 | #define AII_NS 0 | |
242 | #define AII_CS 1 | |
243 | #define AII_MS 2 | |
244 | #define AII_RS 3 | |
245 | #define AII_OS 4 | |
246 | #define AII_SS 5 | |
247 | #define AII_HS 6 | |
248 | ||
249 | ||
649d7700 | 250 | #ifdef MSGTAB |
8f39886b TT |
251 | AliasInfo aliastab[] = |
252 | { | |
253 | /* AII_NS */ {MSG_NS, NICKSERV, Services_Name}, | |
254 | /* AII_CS */ {MSG_CS, CHANSERV, Services_Name}, | |
255 | /* AII_MS */ {MSG_MS, MEMOSERV, Services_Name}, | |
256 | /* AII_RS */ {MSG_RS, ROOTSERV, Services_Name}, | |
257 | /* AII_OS */ {MSG_OS, OPERSERV, Stats_Name}, | |
258 | /* AII_SS */ {MSG_SS, STATSERV, Stats_Name}, | |
259 | /* AII_HS */ {MSG_HS, HELPSERV, Stats_Name}, | |
260 | { 0 } | |
261 | }; | |
262 | ||
31b4b5b5 JS |
263 | struct Message msgtab[] = |
264 | { | |
8f39886b TT |
265 | {MSG_PRIVATE, m_private, MAXPARA, MF_RIDLE, 0}, |
266 | {MSG_NICK, m_nick, MAXPARA, MF_UNREG, 0}, | |
267 | {MSG_NOTICE, m_notice, MAXPARA, 0, 0}, | |
268 | {MSG_JOIN, m_join, MAXPARA, 0, 0}, | |
269 | {MSG_MODE, m_mode, MAXPARA, 0, 0}, | |
270 | {MSG_SAMODE, m_samode, MAXPARA, 0, 0}, | |
271 | {MSG_SAJOIN, m_sajoin, MAXPARA, 0, 0}, | |
272 | {MSG_QUIT, m_quit, MAXPARA, MF_UNREG, 0}, | |
273 | {MSG_PART, m_part, MAXPARA, 0, 0}, | |
274 | {MSG_TOPIC, m_topic, MAXPARA, 0, 0}, | |
275 | {MSG_INVITE, m_invite, MAXPARA, 0, 0}, | |
276 | {MSG_KICK, m_kick, MAXPARA, 0, 0}, | |
277 | {MSG_WALLOPS, m_wallops, MAXPARA, 0, 0}, | |
278 | {MSG_LOCOPS, m_locops, MAXPARA, 0, 0}, | |
279 | {MSG_PONG, m_pong, MAXPARA, 0, 0}, | |
280 | {MSG_PING, m_ping, MAXPARA, 0, 0}, | |
281 | {MSG_ERROR, m_error, MAXPARA, MF_UNREG, 0}, | |
282 | {MSG_KILL, m_kill, MAXPARA, 0, 0}, | |
283 | {MSG_USER, m_user, MAXPARA, MF_UNREG, 0}, | |
284 | {MSG_AWAY, m_away, MAXPARA, 0, 0}, | |
285 | {MSG_ISON, m_ison, 1, 0, 0}, | |
286 | {MSG_SERVER, m_server, MAXPARA, MF_UNREG, 0}, | |
287 | {MSG_SQUIT, m_squit, MAXPARA, 0, 0}, | |
288 | {MSG_WHOIS, m_whois, MAXPARA, 0, 0}, | |
289 | {MSG_WHO, m_who, MAXPARA, 0, 0}, | |
290 | {MSG_WHOWAS, m_whowas, MAXPARA, 0, 0}, | |
291 | {MSG_LIST, m_list, MAXPARA, 0, 0}, | |
292 | {MSG_NAMES, m_names, MAXPARA, 0, 0}, | |
293 | {MSG_USERHOST, m_userhost, 1, 0, 0}, | |
294 | {MSG_USERIP, m_userip, 1, 0, 0}, | |
295 | {MSG_TRACE, m_trace, MAXPARA, 0, 0}, | |
296 | {MSG_PASS, m_pass, MAXPARA, MF_UNREG, 0}, | |
297 | {MSG_LUSERS, m_lusers, MAXPARA, 0, 0}, | |
298 | {MSG_TIME, m_time, MAXPARA, 0, 0}, | |
299 | {MSG_OPER, m_oper, MAXPARA, 0, 0}, | |
300 | {MSG_CONNECT, m_connect, MAXPARA, 0, 0}, | |
301 | {MSG_VERSION, m_version, MAXPARA, MF_UNREG, 0}, | |
302 | {MSG_STATS, m_stats, MAXPARA, 0, 0}, | |
303 | {MSG_LINKS, m_links, MAXPARA, 0, 0}, | |
304 | {MSG_ADMIN, m_admin, MAXPARA, MF_UNREG, 0}, | |
305 | {MSG_USERS, m_users, MAXPARA, 0, 0}, | |
306 | {MSG_HELP, m_help, MAXPARA, 0, 0}, | |
307 | {MSG_INFO, m_info, MAXPARA, 0, 0}, | |
308 | {MSG_MOTD, m_motd, MAXPARA, 0, 0}, | |
309 | {MSG_SVINFO, m_svinfo, MAXPARA, MF_UNREG, 0}, | |
310 | {MSG_SJOIN, m_sjoin, MAXPARA, 0, 0}, | |
311 | {MSG_GLOBOPS, m_globops, MAXPARA, 0, 0}, | |
312 | {MSG_CHATOPS, m_chatops, MAXPARA, 0, 0}, | |
313 | {MSG_GOPER, m_goper, MAXPARA, 0, 0}, | |
314 | {MSG_GNOTICE, m_gnotice, MAXPARA, 0, 0}, | |
315 | {MSG_CLOSE, m_close, MAXPARA, 0, 0}, | |
316 | {MSG_KLINE, m_kline, MAXPARA, 0, 0}, | |
8f39886b | 317 | {MSG_UNKLINE, m_unkline, MAXPARA, 0, 0}, |
8f39886b TT |
318 | {MSG_HASH, m_hash, MAXPARA, 0, 0}, |
319 | {MSG_DNS, m_dns, MAXPARA, 0, 0}, | |
320 | {MSG_REHASH, m_rehash, MAXPARA, 0, 0}, | |
321 | {MSG_RESTART, m_restart, MAXPARA, 0, 0}, | |
322 | {MSG_DIE, m_die, MAXPARA, 0, 0}, | |
323 | {MSG_SET, m_set, MAXPARA, 0, 0}, | |
324 | {MSG_CHANSERV, m_aliased, 1, MF_ALIAS, AII_CS}, | |
325 | {MSG_NICKSERV, m_aliased, 1, MF_ALIAS, AII_NS}, | |
326 | {MSG_MEMOSERV, m_aliased, 1, MF_ALIAS, AII_MS}, | |
327 | {MSG_ROOTSERV, m_aliased, 1, MF_ALIAS, AII_RS}, | |
328 | {MSG_OPERSERV, m_aliased, 1, MF_ALIAS, AII_OS}, | |
329 | {MSG_STATSERV, m_aliased, 1, MF_ALIAS, AII_SS}, | |
330 | {MSG_HELPSERV, m_aliased, 1, MF_ALIAS, AII_HS}, | |
331 | {MSG_SERVICES, m_services, 1, 0, 0}, | |
332 | {MSG_IDENTIFY, m_identify, 1, 0, 0}, | |
333 | {MSG_SVSNICK, m_svsnick, MAXPARA, 0, 0}, | |
334 | {MSG_SVSKILL, m_svskill, MAXPARA, 0, 0}, | |
335 | {MSG_SVSMODE, m_svsmode, MAXPARA, 0, 0}, | |
336 | {MSG_SVSHOLD, m_svshold, MAXPARA, 0, 0}, | |
337 | {MSG_AKILL, m_akill, MAXPARA, 0, 0}, | |
338 | {MSG_RAKILL, m_rakill, MAXPARA, 0, 0}, | |
2ad1aaca | 339 | {MSG_NBANRESET,m_nbanreset, 1, 0, 0}, |
8f39886b | 340 | {MSG_SILENCE, m_silence, MAXPARA, 0, 0}, |
9d708e02 | 341 | {MSG_WATCH, m_watch, 1, 0, 0}, |
8f39886b TT |
342 | {MSG_DCCALLOW, m_dccallow, 1, 0, 0}, |
343 | {MSG_SQLINE, m_sqline, MAXPARA, 0, 0}, | |
344 | {MSG_UNSQLINE, m_unsqline, MAXPARA, 0, 0}, | |
345 | {MSG_CAPAB, m_capab, MAXPARA, MF_UNREG, 0}, | |
346 | {MSG_BURST, m_burst, MAXPARA, 0, 0}, | |
347 | {MSG_SGLINE, m_sgline, MAXPARA, 0, 0}, | |
348 | {MSG_UNSGLINE, m_unsgline, MAXPARA, 0, 0}, | |
349 | {MSG_DKEY, m_dkey, MAXPARA, MF_UNREG, 0}, | |
350 | {MSG_NS, m_aliased, 1, MF_ALIAS, AII_NS}, | |
351 | {MSG_CS, m_aliased, 1, MF_ALIAS, AII_CS}, | |
352 | {MSG_MS, m_aliased, 1, MF_ALIAS, AII_MS}, | |
353 | {MSG_RS, m_aliased, 1, MF_ALIAS, AII_RS}, | |
354 | {MSG_OS, m_aliased, 1, MF_ALIAS, AII_OS}, | |
355 | {MSG_SS, m_aliased, 1, MF_ALIAS, AII_SS}, | |
356 | {MSG_HS, m_aliased, 1, MF_ALIAS, AII_HS}, | |
357 | {MSG_RESYNCH, m_resynch, MAXPARA, 0, 0}, | |
358 | {MSG_MODULE, m_module, MAXPARA, 0, 0}, | |
359 | {MSG_RWHO, m_rwho, MAXPARA, 0, 0}, | |
360 | {MSG_SVSCLONE, m_svsclone, MAXPARA, 0, 0}, | |
05a6705d | 361 | {MSG_SVSPANIC, m_svspanic, MAXPARA, 0, 0}, |
90373658 | 362 | {MSG_CHANKILL, m_chankill, MAXPARA, 0, 0}, |
b7f33b79 | 363 | {MSG_SVSHOST, m_svshost, MAXPARA, 0, 0}, |
d23b31db | 364 | {MSG_SVSNOOP, m_svsnoop, MAXPARA, 0, 0}, |
02e7148f | 365 | {MSG_SVSTAG, m_svstag, MAXPARA, 0, 0}, |
0d79931d | 366 | {MSG_SVSUHM, m_svsuhm, MAXPARA, 0, 0}, |
6ed60fee TT |
367 | {MSG_PUT, m_put, 2, MF_UNREG, 0}, |
368 | {MSG_POST, m_post, 2, MF_UNREG, 0}, | |
ffc14e0f | 369 | {MSG_CHECK, m_check, MAXPARA, 0, 0}, |
8f39886b TT |
370 | {MSG_LUSERSLOCK, m_luserslock, MAXPARA, 0, 0}, |
371 | {MSG_LINKSCONTROL, m_linkscontrol, MAXPARA, 0, 0}, | |
804c54f1 KS |
372 | {"SPAMOPS", m_spamops, MAXPARA, 0, 0}, |
373 | {"SF", m_sf, MAXPARA, 0, 0}, | |
e2fef41a | 374 | {"SVSXCF", m_svsxcf, MAXPARA, 0, 0}, |
a86bfecd | 375 | {MSG_WEBIRC, m_webirc, MAXPARA, MF_UNREG, 0}, |
8f39886b | 376 | { 0 } |
649d7700 LM |
377 | }; |
378 | ||
379 | MESSAGE_TREE *msg_tree_root; | |
380 | #else | |
8f39886b | 381 | extern AliasInfo aliastab[]; |
649d7700 LM |
382 | extern struct Message msgtab[]; |
383 | extern MESSAGE_TREE *msg_tree_root; | |
384 | #endif | |
385 | #endif /* __msg_include__ */ |