159 alog(
"debug: Changing mode for %s to %s", user->
nick, modes);
184 "\2%s\2 is now an IRC operator.",
249 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
250 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
260 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
262 'o', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
263 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
265 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
266 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
270 {NULL}, {NULL}, {NULL},
271 {NULL}, {NULL}, {NULL},
272 {NULL}, {NULL}, {NULL},
273 {NULL}, {NULL}, {NULL},
274 {NULL}, {NULL}, {NULL},
275 {NULL}, {NULL}, {NULL},
276 {NULL}, {NULL}, {NULL},
277 {NULL}, {NULL}, {NULL},
278 {NULL}, {NULL}, {NULL},
279 {NULL}, {NULL}, {NULL},
280 {NULL}, {NULL}, {NULL},
281 {NULL}, {NULL}, {NULL},
282 {NULL}, {NULL}, {NULL},
283 {NULL}, {NULL}, {NULL},
284 {NULL}, {NULL}, {NULL},
285 {NULL}, {NULL}, {NULL},
286 {NULL}, {NULL}, {NULL},
287 {NULL}, {NULL}, {NULL},
288 {NULL}, {NULL}, {NULL},
289 {NULL}, {NULL}, {NULL},
290 {NULL}, {NULL}, {NULL},
291 {NULL}, {NULL}, {NULL},
292 {NULL}, {NULL}, {NULL},
293 {NULL}, {NULL}, {NULL},
297 {NULL}, {NULL}, {NULL},
298 {NULL}, {NULL}, {NULL},
299 {NULL}, {NULL}, {NULL},
300 {NULL}, {NULL}, {NULL},
301 {NULL}, {NULL}, {NULL},
304 {NULL}, {NULL}, {NULL},
313 {NULL}, {NULL}, {NULL}, {NULL}, {NULL}, {NULL}, {NULL}, {NULL},
314 {NULL}, {NULL}, {NULL}, {NULL}, {NULL}, {NULL}, {NULL}, {NULL},
315 {NULL}, {NULL}, {NULL}, {NULL}, {NULL}, {NULL}, {NULL}, {NULL}
320 {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0},
321 {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0},
322 {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0},
323 {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0},
324 {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0},
325 {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0},
326 {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0},
327 {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0},
355 {0}, {0}, {0}, {0}, {0}, {0},
399 {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0},
400 {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0},
401 {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0},
402 {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0},
404 {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0},
405 {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0},
406 {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0},
407 {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0},
409 {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0},
410 {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0},
411 {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0},
412 {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0},
442 {0}, {0}, {0}, {0}, {0}
462 "NOTICE %s :%s", (
UseTS6 ? (u ? u->
uid : dest) : dest),
475 (
UseTS6 ? (u ? u->
uid : dest) : dest), msg);
489 (
UseTS6 ? (ud2 ? ud2->
uid : dest) : dest), buf);
500 (
UseTS6 ? (ud2 ? ud2->
uid : dest) : dest), msg);
505 send_cmd(source,
"NOTICE $$%s :%s", dest, msg);
510 send_cmd(source,
"PRIVMSG $$%s :%s", dest, msg);
606 user =
do_nick(source, av[0], av[4], av[5], s->
name, av[8],
607 strtoul(av[2], NULL, 10), 0, 0,
"*", av[7]);
613 user =
do_nick(source, av[0], av[4], av[5], av[6], av[7],
614 strtoul(av[2], NULL, 10), 0, 0,
"*", NULL);
618 do_nick(source, av[0], NULL, NULL, NULL, NULL,
619 strtoul(av[1], NULL, 10), 0, 0, NULL, NULL);
633 time_t topic_time = time(NULL);
637 alog(
"debug: TOPIC %s for nonexistent channel %s",
650 if (ac > 1 && *av[1])
667 if (ac > 1 && *av[1])
688 topic_time = strtol(av[1], NULL, 10);
692 alog(
"debug: TOPIC %s for nonexistent channel %s",
710 if (ac > 1 && *av[3])
792 "RESV * %s :%s", mask, reason);
801 "UNXLINE * %s", mask);
830 "XLINE * %s 0 :%s", mask, reason);
839 "UNKLINE * %s %s", user, host);
843 char *topic, time_t when)
868 "UNRESV * %s", user);
876 send_cmd(NULL,
"SJOIN %ld %s + :%s", (
long int) chantime,
877 channel, (
UseTS6 ? (ud ? ud->
uid : user) : user));
890 time_t expires,
char *reason)
897 "KLINE * %ld %s %s :%s",
898 (
long int) (expires - (
long) time(NULL)), user, host, reason);
909 if (!source || !user) {
916 (
UseTS6 ? (ud2 ? ud2->
uid : user) : user), buf);
935 send_cmd(NULL,
"SVINFO 6 3 0 :%ld", (
long int) time(NULL));
965 "CAPAB :QS EX CHW IE KLN GLN KNOCK TB UNKLN CLUSTER ENCAP");
974 send_cmd(NULL,
"PASS %s :TS", pass);
981 send_cmd(NULL,
"SERVER %s %d :%s", servname, hop, descript);
996 else if (servernum == 2)
998 else if (servernum == 3)
1018 (
long int) time(NULL), modes, user, host, uidbuf,
1022 send_cmd(NULL,
"NICK %s 1 %ld %s %s %s %s :%s", nick,
1023 (
long int) time(NULL), modes, user, host,
ServerName,
1059 (ac ? av[0] : NULL));
1126 (
UseTS6 ? (ud ? ud->
nick : av[0]) : av[0]), av[1]);
1134 if (ac < 1 || ac > 2) {
1148 if (source && ac >= 1) {
1163 do_server(source, av[0], av[1], av[2], NULL);
1166 do_server(source, av[0], av[1], av[2], NULL);
1173 if (ac > 2 && !strcmp(av[1],
"LOGIN"))
1243 "422 %s :- MOTD file not found! Please "
1244 "contact your IRC administrator.", source);
1250 "375 %s :- %s Message of the Day", source, ServerName);
1256 "376 %s :End of /MOTD command.", source);
1326 send_cmd(NULL,
"219 %s %c :End of /STATS report.", source,
1329 send_cmd(NULL,
"219 %s l :End of /STATS report.", source);
1336 if (!source || !who) {
1346 if (!source || !who) {
1351 "318 %s %s :End of /WHOIS list.", source, who);
1396 send_cmd(source,
"MODE %s %s", dest, buf);
1407 va_start(args, fmt);
1415 send_cmd(NULL,
"MODE %s %s", dest, buf);
1428 send_cmd(NULL,
"NICK %s 1 %ld %s %s %s %s :%s", nick,
1445 "KICK %s %s :%s", chan,
1446 (
UseTS6 ? (u ? u->
uid : user) : user), buf);
1449 chan, (
UseTS6 ? (u ? u->
uid : user) : user));
1459 send_cmd(NULL,
"NOTICE @%s :%s", dest, buf);
1469 (u ? u->
uid : nick));
1496 send_cmd(servname,
"PONG %s", who);
1506 if (!source || !chan || !nick) {
1514 (
UseTS6 ? (u ? u->
uid : nick) : nick), chan);
1520 if (!servname || !message) {
1524 send_cmd(NULL,
"SQUIT %s :%s", servname, message);
1535 if (*av[0] ==
'#' || *av[0] ==
'&') {
1552 if (*av[1] ==
'#' || *av[1] ==
'&') {
1561 "351 %s Anope-%s %s :%s - %s (%s) -- %s", source,
version_number,
1578 argv =
scalloc(argvsize,
sizeof(
char *));
1581 if (argc == argvsize) {
1583 argv =
srealloc(argv, argvsize *
sizeof(
char *));
1592 for (argvsize = 0; argvsize < argc; argvsize++) {
1593 free(argv[argvsize]);
1671 if (!oldnick || !newnick) {
1679 send_cmd(oldnick,
"NICK %s", newnick);
1748 for (i = 0; i <= count - 1; i++) {
1776 alog(
"debug: %s", av[0]);
1786 snprintf(rbuf,
sizeof(rbuf),
"Juped by %s%s%s", who,
1787 reason ?
": " :
"", reason ? reason :
"");
1828 send_cmd(source,
"NOTICE %s :\1%s \1", dest, s);
E void pmodule_cmd_vhost_off(void(*func)(User *u))
void ratbox_cmd_372(char *source, char *msg)
E void pmodule_permchan_mode(int mode)
int AnopeInit(int argc, char **argv)
E Uid * find_uid(const char *nick)
int anope_event_sjoin(char *source, int ac, char **av)
int anope_event_whois(char *source, int ac, char **av)
void ratbox_cmd_jupe(char *jserver, char *who, char *reason)
E void pmodule_cmd_svspart(void(*func)(char *source, char *nick, char *chan))
E void do_topic(const char *source, int ac, char **av)
void ratbox_cmd_join(char *user, char *channel, time_t chantime)
#define EVENT_NICK_REGISTERED
#define EVENT_NICK_IDENTIFY
E void do_server(const char *source, char *servername, char *hops, char *descript, char *numeric)
E void pmodule_cmd_notice2(void(*func)(char *source, char *dest, char *msg))
void ratbox_cmd_svid_umode3(User *u, char *ts)
int anope_event_squit(char *source, int ac, char **av)
int anope_event_ping(char *source, int ac, char **av)
void ratbox_cmd_serv_notice(char *source, char *dest, char *msg)
E void pmodule_cmd_bot_chan_mode(void(*func)(char *nick, char *chan))
void ratbox_cmd_tmode(char *source, char *dest, const char *fmt,...)
void ratbox_cmd_notice2(char *source, char *dest, char *msg)
int anope_event_436(char *source, int ac, char **av)
E void do_squit(const char *source, int ac, char **av)
E int snprintf(char *buf, size_t size, const char *fmt,...)
void ratbox_cmd_invite(char *source, char *chan, char *nick)
E int anope_event_null(char *source, int ac, char **av)
E void pmodule_cmd_351(void(*func)(char *source))
void ratbox_cmd_sqline(char *mask, char *reason)
MDE void updateProtectDetails(char *level_info_protect_word, char *level_info_protectme_word, char *fant_protect_add, char *fant_protect_del, char *level_protect_word, char *protect_set_mode, char *protect_unset_mode)
void ratbox_cmd_swhois(char *source, char *who, char *mask)
unsigned long umodes[128]
void ratbox_cmd_svsinfo()
void ratbox_cmd_guest_nick(char *nick, char *user, char *host, char *real, char *modes)
void ratbox_cmd_privmsg(char *source, char *dest, char *buf)
void ratbox_cmd_remove_akill(char *user, char *host)
E void pmodule_cmd_nick(void(*func)(char *nick, char *name, char *modes))
E void chan_set_key(Channel *chan, char *value)
int anope_event_error(char *source, int ac, char **av)
E void pmodule_ircd_cmmodes(CMMode modes[128])
void ratbox_cmd_pong(char *servname, char *who)
E void do_kick(const char *source, int ac, char **av)
E void pmodule_cmd_372_error(void(*func)(char *source))
MDE int addCoreMessage(MessageHash *msgTable[], Message *m)
void ratbox_cmd_szline(char *mask, char *reason, char *whom)
E void pmodule_valid_nick(int(*func)(char *nick))
void ratbox_cmd_svsadmin(char *server, int set)
E void cs_set_limit(ChannelInfo *ci, char *value)
int ratbox_valid_chan(char *chan)
E int nick_identified(User *u)
CBModeInfo myCbmodeinfos[]
int anope_event_kill(char *source, int ac, char **av)
void ratbox_cmd_chg_nick(char *oldnick, char *newnick)
E void pmodule_cmd_kick(void(*func)(char *source, char *chan, char *user, char *buf))
E void send_cmd(const char *source, const char *fmt,...) FORMAT(printf
void ratbox_cmd_243(char *buf)
E void send_event(const char *name, int argc,...)
E void pmodule_cmd_vhost_on(void(*func)(char *nick, char *vIdent, char *vhost))
E void pmodule_cmd_svsjoin(void(*func)(char *source, char *nick, char *chan, char *param))
E void pmodule_cmd_swhois(void(*func)(char *source, char *who, char *mask))
E void pmodule_cmd_pong(void(*func)(char *servname, char *who))
E void pmodule_cmd_307(void(*func)(char *buf))
E char * get_limit(Channel *chan)
E void pmodule_cmd_211(void(*func)(char *buf))
int anope_event_tburst(char *source, int ac, char **av)
int anope_event_server(char *source, int ac, char **av)
E void pmodule_cmd_unsqline(void(*func)(char *user))
int ratbox_flood_mode_check(char *value)
E void pmodule_cmd_sgline(void(*func)(char *mask, char *reason))
E int stricmp(const char *s1, const char *s2)
void ratbox_cmd_376(char *source)
E void pmodule_set_umode(void(*func)(User *user, int ac, char **av))
E void pmodule_ircd_cap(IRCDCAPAB *cap)
int anope_event_nick(char *source, int ac, char **av)
int anope_event_away(char *source, int ac, char **av)
void ratbox_cmd_bot_chan_mode(char *nick, char *chan)
E void pmodule_cmd_nc_change(void(*func)(User *u))
E void pmodule_cmd_372(void(*func)(char *source, char *msg))
void ratbox_cmd_svsmode(User *u, int ac, char **av)
void moduleAddAnopeCmds()
void ratbox_cmd_svspart(char *source, char *nick, char *chan)
E void pmodule_cmd_bob(void(*func)())
E void pmodule_ircd_flood_mode_char_remove(char *mode)
int anope_event_encap(char *source, int ac, char **av)
void ratbox_cmd_release_svshold(char *nick)
E void del_invite(Channel *chan, char *mask)
E User * find_byuid(const char *uid)
E void pmodule_cmd_ctcp(void(*func)(char *source, char *dest, char *buf))
char topic_setter[NICKMAX]
E void pmodule_cmd_invite(void(*func)(char *source, char *chan, char *nick))
E void pmodule_ircd_var(IRCDVar *ircdvar)
E void do_umode(const char *source, int ac, char **av)
void ratbox_cmd_svsnoop(char *server, int set)
MDE Message * createMessage(const char *name, int(*func)(char *source, int ac, char **av))
void ratbox_cmd_privmsg2(char *source, char *dest, char *msg)
E Uid * find_nickuid(const char *uid)
E void add_invite(Channel *chan, char *mask)
void ratbox_cmd_kick(char *source, char *chan, char *user, char *buf)
E void pmodule_cmd_svsnoop(void(*func)(char *server, int set))
void ratbox_cmd_ctcp(char *source, char *dest, char *buf)
E void pmodule_cmd_squit(void(*func)(char *servname, char *message))
E void check_memos(User *u)
E char * strscpy(char *d, const char *s, size_t len)
E void pmodule_cmd_unsgline(void(*func)(char *mask))
void ratbox_cmd_unszline(char *mask)
int anope_event_join(char *source, int ac, char **av)
MDE void moduleAddAuthor(const char *author)
E void EnforceQlinedNick(char *nick, char *killer)
void ratbox_cmd_svsnick(char *nick, char *newnick, time_t when)
void ratbox_cmd_svid_umode2(User *u, char *ts)
E char * cs_get_key(ChannelInfo *ci)
MDE void moduleSetType(MODType type)
int ratbox_logout(int argc, char **argv)
E void pmodule_cmd_jupe(void(*func)(char *jserver, char *who, char *reason))
void ratbox_cmd_375(char *source)
E void pmodule_cmd_243(void(*func)(char *buf))
void ratbox_set_umode(User *user, int ac, char **av)
E Channel * findchan(const char *chan)
E void do_sjoin(const char *source, int ac, char **av)
E void anope_set_umode(User *user, int ac, char **av)
E char * sstrdup(const char *s)
E void do_join(const char *source, int ac, char **av)
void ratbox_cmd_312(char *buf)
E void * scalloc(long elsize, long els)
E Uid * new_uid(const char *nick, char *uid)
E int m_nickcoll(char *user)
E void pmodule_cmd_375(void(*func)(char *source))
E void pmodule_key_mode(int mode)
E void pmodule_cmd_svsnick(void(*func)(char *source, char *guest, time_t when))
void ratbox_cmd_global_legacy(char *source, char *fmt)
void ratbox_cmd_372_error(char *source)
E void pmodule_invis_umode(int mode)
E void pmodule_cmd_svid_umode2(void(*func)(User *u, char *ts))
E void pmodule_cmd_chg_nick(void(*func)(char *oldnick, char *newnick))
void ratbox_cmd_unban(char *name, char *nick)
void ratbox_cmd_vhost_on(char *nick, char *vIdent, char *vhost)
E void record_topic(const char *chan)
void ratbox_cmd_global(char *source, char *buf)
void ratbox_cmd_svskill(char *source, char *user, char *buf)
E void pmodule_invite_cmode(int mode)
E int myNumToken(const char *str, const char dilim)
E void pmodule_cmd_eob(void(*func)())
void ratbox_cmd_bot_nick(char *nick, char *user, char *host, char *real, char *modes)
E void pmodule_cmd_svid_umode3(void(*func)(User *u, char *ts))
E void pmodule_cmd_376(void(*func)(char *source))
void ratbox_cmd_server(char *servname, int hop, char *descript)
void ratbox_cmd_quit(char *source, char *buf)
E char * ts6_uid_retrieve(void)
E User * finduser(const char *nick)
void ratbox_cmd_307(char *buf)
E int m_kill(char *nick, char *msg)
int anope_event_admin(char *source, int ac, char **av)
E void pmodule_cmd_part(void(*func)(char *nick, char *chan, char *buf))
E int m_away(char *source, char *msg)
MDE void moduleAddVersion(const char *version)
int anope_event_kick(char *source, int ac, char **av)
E void add_ban(Channel *chan, char *mask)
E void do_part(const char *source, int ac, char **av)
E void del_ban(Channel *chan, char *mask)
void ratbox_cmd_351(char *source)
E char * merge_args(int argc, char **argv)
void ratbox_cmd_notice(char *source, char *dest, char *buf)
E void pmodule_ircd_cumodes(CUMode modes[128])
MDE EvtHook * createEventHook(char *name, int(*func)(int argc, char **argv))
E const char version_flags[]
int ratbox_valid_nick(char *nick)
void ratbox_cmd_317(char *buf)
int anope_event_svinfo(char *source, int ac, char **av)
E void alog(const char *fmt,...) FORMAT(printf
int anope_event_mode(char *source, int ac, char **av)
void ratbox_cmd_401(char *source, char *who)
E int m_motd(char *source)
E void pmodule_cmd_svsmode(void(*func)(User *u, int ac, char **av))
E void do_quit(const char *source, int ac, char **av)
E void pmodule_cmd_bot_nick(void(*func)(char *nick, char *user, char *host, char *real, char *modes))
E void pmodule_private_cmode(int mode)
void ratbox_cmd_akill(char *user, char *host, char *who, time_t when, time_t expires, char *reason)
E void display_news(User *u, int16 type)
void ratbox_cmd_notice_ops(char *source, char *dest, char *buf)
void ratbox_cmd_topic(char *whosets, char *chan, char *whosetit, char *topic, time_t when)
void ratbox_cmd_250(char *buf)
void ratbox_cmd_squit(char *servname, char *message)
E Server * findserver(Server *s, const char *name)
E void pmodule_cmd_svid_umode(void(*func)(char *nick, time_t ts))
E int m_privmsg(char *source, char *receiver, char *msg)
E void pmodule_ircd_csmodes(char mode[128])
void ratbox_cmd_242(char *buf)
E void pmodule_cmd_242(void(*func)(char *buf))
void ratbox_cmd_connect(int servernum)
#define EVENT_TOPIC_UPDATED
E void set_limit(Channel *chan, char *value)
void ratbox_cmd_211(char *buf)
E void pmodule_cmd_311(void(*func)(char *buf))
E void pmodule_cmd_join(void(*func)(char *user, char *channel, time_t chantime))
E void del_exception(Channel *chan, char *mask)
E void pmodule_cmd_318(void(*func)(char *source, char *who))
E void pmodule_cmd_250(void(*func)(char *buf))
int anope_event_pass(char *source, int ac, char **av)
void ratbox_cmd_unsqline(char *user)
void ratbox_cmd_sgline(char *mask, char *reason)
E void pmodule_ircd_version(char *version)
int anope_event_invite(char *source, int ac, char **av)
void ratbox_cmd_pass(char *pass)
E const char version_number[]
int anope_event_bmask(char *source, int ac, char **av)
E void pmodule_cmd_unszline(void(*func)(char *mask))
E int check_topiclock(Channel *c, time_t topic_time)
E void cs_set_key(ChannelInfo *ci, char *value)
E void anope_cmd_mode(char *source, char *dest, const char *fmt,...)
E void pmodule_cmd_401(void(*func)(char *source, char *who))
int anope_event_tmode(char *source, int ac, char **av)
E int vsnprintf(char *buf, size_t size, const char *fmt, va_list args)
E void pmodule_cmd_svso(void(*func)(char *source, char *nick, char *flag))
void ratbox_cmd_serv_privmsg(char *source, char *dest, char *msg)
E void pmodule_cmd_serv_privmsg(void(*func)(char *source, char *dest, char *msg))
E void pmodule_cmd_317(void(*func)(char *buf))
E void do_cmode(const char *source, int ac, char **av)
E void pmodule_secret_cmode(int mode)
E void pmodule_cmd_391(void(*func)(char *source, char *timestr))
E void pmodule_cmd_remove_akill(void(*func)(char *user, char *host))
E void pmodule_ircd_cbmodes(CBMode modes[128])
int anope_event_motd(char *source, int ac, char **av)
void ratbox_cmd_318(char *source, char *who)
void ratbox_cmd_nc_change(User *u)
void moduleAddIRCDMsgs(void)
E void pmodule_cmd_szline(void(*func)(char *mask, char *reason, char *whom))
E char * myStrGetToken(const char *str, const char dilim, int token_number)
E void pmodule_cmd_notice_ops(void(*func)(char *source, char *dest, char *buf))
E void pmodule_cmd_release_svshold(void(*func)(char *nick))
E void add_exception(Channel *chan, char *mask)
int anope_event_topic(char *source, int ac, char **av)
int anope_event_notice(char *source, int ac, char **av)
E Server * findserver_uid(Server *s, const char *name)
E void * srealloc(void *oldptr, long newsize)
void ratbox_cmd_part(char *nick, char *chan, char *buf)
void ratbox_cmd_219(char *source, char *letter)
int ratbox_login(int argc, char **argv)
E void pmodule_cmd_unban(void(*func)(char *name, char *nick))
E void pmodule_cmd_notice(void(*func)(char *source, char *dest, char *buf))
void ratbox_cmd_svso(char *source, char *nick, char *flag)
void ratbox_cmd_311(char *buf)
void ratbox_cmd_391(char *source, char *timestr)
E void pmodule_cmd_akill(void(*func)(char *user, char *host, char *who, time_t when, time_t expires, char *reason))
E void capab_parse(int ac, char **av)
E int check_valid_op(User *user, Channel *chan, int servermode)
E char * cs_get_limit(ChannelInfo *ci)
void ratbox_cmd_mode(char *source, char *dest, char *buf)
E void pmodule_cmd_guest_nick(void(*func)(char *nick, char *user, char *host, char *real, char *modes))
E void * smalloc(long size)
void ratbox_cmd_svsjoin(char *source, char *nick, char *chan, char *param)
void ratbox_cmd_svsmode_chan(char *name, char *mode, char *nick)
E void pmodule_valid_chan(int(*func)(char *chan))
E void pmodule_cmd_privmsg(void(*func)(char *source, char *dest, char *buf))
E void pmodule_cmd_svshold(void(*func)(char *nick))
E void pmodule_cmd_serv_notice(void(*func)(char *source, char *dest, char *msg))
E char * get_key(Channel *chan)
E int m_whois(char *source, char *who)
E void pmodule_cmd_topic(void(*func)(char *whosets, char *chan, char *whosetit, char *topic, time_t when))
E void pmodule_cmd_quit(void(*func)(char *source, char *buf))
void ratbox_cmd_vhost_off(User *u)
E void pmodule_ircd_useTSMode(int use)
void ratbox_cmd_nick(char *nick, char *name, char *mode)
E void pmodule_oper_umode(int mode)
E Server * new_server(Server *uplink, const char *name, const char *desc, uint16 flags, char *suid)
int anope_event_privmsg(char *source, int ac, char **av)
E void pmodule_flood_mode_check(int(*func)(char *value))
E void pmodule_ircd_cbmodeinfos(CBModeInfo *modeinfos)
#define EVENT_NICK_LOGOUT
void ratbox_cmd_unsgline(char *mask)
E void pmodule_cmd_sqline(void(*func)(char *mask, char *reason))
E void pmodule_cmd_privmsg2(void(*func)(char *source, char *dest, char *msg))
E User * do_nick(const char *source, char *nick, char *username, char *host, char *server, char *realname, time_t ts, uint32 svid, uint32 ip, char *vhost, char *uid)
E void pmodule_cmd_connect(void(*func)(int servernum))
E void pmodule_cmd_global_legacy(void(*func)(char *source, char *fmt))
E void pmodule_cmd_mode(void(*func)(char *source, char *dest, char *buf))
E char * common_get_vhost(User *u)
E void pmodule_limit_mode(int mode)
E void pmodule_cmd_svskill(void(*func)(char *source, char *user, char *buf))
E void pmodule_cmd_svsmode_chan(void(*func)(char *name, char *mode, char *nick))
int anope_event_sid(char *source, int ac, char **av)
E void pmodule_ircd_flood_mode_char_set(char *mode)
int anope_event_part(char *source, int ac, char **av)
MDE int moduleAddEventHook(EvtHook *evh)
E void pmodule_cmd_312(void(*func)(char *buf))
E const char version_build[]
int anope_event_quit(char *source, int ac, char **av)
int anope_event_capab(char *source, int ac, char **av)
E char * normalizeBuffer(char *)
E char * common_get_vident(User *u)
E void anope_cmd_global(char *source, const char *fmt,...)
E void pmodule_cmd_global(void(*func)(char *source, char *buf))
#define CUF_PROTECT_BOTSERV
E void nsStartNickTracking(User *u)
void ratbox_cmd_svshold(char *nick)
void ratbox_cmd_svid_umode(char *nick, time_t ts)
E void pmodule_cmd_219(void(*func)(char *source, char *letter))