#include "services.h"#include "pseudo.h"#include "bahamut.h"#include "version.h"
Go to the source code of this file.
Functions | |
| void | bahamut_set_umode (User *user, int ac, char **av) |
| void | bahamut_cmd_mode (char *source, char *dest, char *buf) |
| void | bahamut_cmd_svshold (char *nick) |
| void | bahamut_cmd_release_svshold (char *nick) |
| void | bahamut_cmd_unban (char *name, char *nick) |
| void | bahamut_cmd_svsmode_chan (char *name, char *mode, char *nick) |
| void | bahamut_cmd_bot_chan_mode (char *nick, char *chan) |
| int | anope_event_sjoin (char *source, int ac, char **av) |
| int | anope_event_nick (char *source, int ac, char **av) |
| int | anope_event_capab (char *source, int ac, char **av) |
| int | anope_event_os (char *source, int ac, char **av) |
| int | anope_event_ns (char *source, int ac, char **av) |
| int | anope_event_ms (char *source, int ac, char **av) |
| int | anope_event_hs (char *source, int ac, char **av) |
| int | anope_event_cs (char *source, int ac, char **av) |
| int | anope_event_436 (char *source, int ac, char **av) |
| void | moduleAddIRCDMsgs (void) |
| void | bahamut_cmd_sqline (char *mask, char *reason) |
| void | bahamut_cmd_unsgline (char *mask) |
| void | bahamut_cmd_unszline (char *mask) |
| void | bahamut_cmd_szline (char *mask, char *reason, char *whom) |
| void | bahamut_cmd_svsnoop (char *server, int set) |
| void | bahamut_cmd_svsadmin (char *server, int set) |
| void | bahamut_cmd_sgline (char *mask, char *reason) |
| void | bahamut_cmd_remove_akill (char *user, char *host) |
| void | bahamut_cmd_part (char *nick, char *chan, char *buf) |
| void | bahamut_cmd_topic (char *whosets, char *chan, char *whosetit, char *topic, time_t when) |
| void | bahamut_cmd_unsqline (char *user) |
| void | bahamut_cmd_join (char *user, char *channel, time_t chantime) |
| void | bahamut_cmd_burst () |
| void | bahamut_cmd_akill (char *user, char *host, char *who, time_t when, time_t expires, char *reason) |
| void | bahamut_cmd_svskill (char *source, char *user, char *buf) |
| void | bahamut_cmd_svsmode (User *u, int ac, char **av) |
| void | bahamut_cmd_squit (char *servname, char *message) |
| void | bahamut_cmd_pong (char *servname, char *who) |
| void | bahamut_cmd_svinfo () |
| void | bahamut_cmd_pass (char *pass) |
| void | bahamut_cmd_server (char *servname, int hop, char *descript) |
| void | bahamut_cmd_capab () |
| void | bahamut_cmd_connect (int servernum) |
| void | bahamut_cmd_bob () |
| int | anope_event_server (char *source, int ac, char **av) |
| int | anope_event_privmsg (char *source, int ac, char **av) |
| int | anope_event_svinfo (char *source, int ac, char **av) |
| int | anope_event_part (char *source, int ac, char **av) |
| int | anope_event_whois (char *source, int ac, char **av) |
| int | anope_event_topic (char *source, int ac, char **av) |
| int | anope_event_squit (char *source, int ac, char **av) |
| int | anope_event_quit (char *source, int ac, char **av) |
| int | anope_event_mode (char *source, int ac, char **av) |
| int | anope_event_kill (char *source, int ac, char **av) |
| int | anope_event_kick (char *source, int ac, char **av) |
| int | anope_event_join (char *source, int ac, char **av) |
| int | anope_event_motd (char *source, int ac, char **av) |
| void | bahamut_cmd_notice_ops (char *source, char *dest, char *buf) |
| void | bahamut_cmd_notice (char *source, char *dest, char *buf) |
| void | bahamut_cmd_notice2 (char *source, char *dest, char *msg) |
| void | bahamut_cmd_privmsg (char *source, char *dest, char *buf) |
| void | bahamut_cmd_privmsg2 (char *source, char *dest, char *msg) |
| void | bahamut_cmd_serv_notice (char *source, char *dest, char *msg) |
| void | bahamut_cmd_serv_privmsg (char *source, char *dest, char *msg) |
| void | bahamut_cmd_global (char *source, char *buf) |
| void | bahamut_cmd_391 (char *source, char *timestr) |
| void | bahamut_cmd_250 (char *buf) |
| void | bahamut_cmd_307 (char *buf) |
| void | bahamut_cmd_311 (char *buf) |
| void | bahamut_cmd_312 (char *buf) |
| void | bahamut_cmd_317 (char *buf) |
| void | bahamut_cmd_219 (char *source, char *letter) |
| void | bahamut_cmd_401 (char *source, char *who) |
| void | bahamut_cmd_318 (char *source, char *who) |
| void | bahamut_cmd_242 (char *buf) |
| void | bahamut_cmd_243 (char *buf) |
| void | bahamut_cmd_211 (char *buf) |
| void | bahamut_cmd_nick (char *nick, char *name, char *modes) |
| void | bahamut_cmd_kick (char *source, char *chan, char *user, char *buf) |
| void | bahamut_cmd_372 (char *source, char *msg) |
| void | bahamut_cmd_372_error (char *source) |
| void | bahamut_cmd_375 (char *source) |
| void | bahamut_cmd_376 (char *source) |
| void | bahamut_cmd_invite (char *source, char *chan, char *nick) |
| void | bahamut_cmd_quit (char *source, char *buf) |
| int | anope_event_away (char *source, int ac, char **av) |
| int | anope_event_ping (char *source, int ac, char **av) |
| void | bahamut_cmd_351 (char *source) |
| void | bahamut_cmd_bot_nick (char *nick, char *user, char *host, char *real, char *modes) |
| void | bahamut_cmd_svsnick (char *source, char *guest, time_t when) |
| void | bahamut_cmd_guest_nick (char *nick, char *user, char *host, char *real, char *modes) |
| void | bahamut_cmd_svso (char *source, char *nick, char *flag) |
| void | bahamut_cmd_vhost_on (char *nick, char *vIdent, char *vhost) |
| void | bahamut_cmd_vhost_off (User *u) |
| void | bahamut_cmd_svid_umode (char *nick, time_t ts) |
| void | bahamut_cmd_nc_change (User *u) |
| void | bahamut_cmd_svid_umode2 (User *u, char *ts) |
| void | bahamut_cmd_svid_umode3 (User *u, char *ts) |
| void | bahamut_cmd_chg_nick (char *oldnick, char *newnick) |
| int | anope_event_error (char *source, int ac, char **av) |
| int | anope_event_notice (char *source, int ac, char **av) |
| int | anope_event_sqline (char *source, int ac, char **av) |
| int | anope_event_gnotice (char *source, int ac, char **av) |
| int | anope_event_pass (char *source, int ac, char **av) |
| void | bahamut_cmd_svsjoin (char *source, char *nick, char *chan, char *param) |
| void | bahamut_cmd_svspart (char *source, char *nick, char *chan) |
| void | bahamut_cmd_swhois (char *source, char *who, char *mask) |
| void | bahamut_cmd_eob () |
| int | anope_event_burst (char *source, int ac, char **av) |
| int | anope_event_luserslock (char *source, int ac, char **av) |
| int | anope_event_rehash (char *source, int ac, char **av) |
| int | anope_event_credits (char *source, int ac, char **av) |
| int | anope_event_admin (char *source, int ac, char **av) |
| int | bahamut_flood_mode_check (char *value) |
| void | bahamut_cmd_jupe (char *jserver, char *who, char *reason) |
| void | bahamut_cmd_global_legacy (char *source, char *fmt) |
| int | bahamut_valid_nick (char *nick) |
| int | bahamut_valid_chan (char *chan) |
| void | bahamut_cmd_ctcp (char *source, char *dest, char *buf) |
| void | bahamut_cmd_chghost (char *nick, char *vhost) |
| void | moduleAddAnopeCmds () |
| int | AnopeInit (int argc, char **argv) |
Variables | |
| IRCDVar | myIrcd [] |
| IRCDCAPAB | myIrcdcap [] |
| unsigned long | umodes [128] |
| char | myCsmodes [128] |
| CMMode | myCmmodes [128] |
| CBMode | myCbmodes [128] |
| CBModeInfo | myCbmodeinfos [] |
| CUMode | myCumodes [128] |
| int anope_event_436 | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 626 of file bahamut.c.
References m_nickcoll().
| int anope_event_admin | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
| int anope_event_away | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
| int anope_event_burst | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
| int anope_event_capab | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 575 of file bahamut.c.
References capab_parse().
| int anope_event_credits | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
| int anope_event_cs | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 618 of file bahamut.c.
References m_privmsg(), and s_ChanServ.
| int anope_event_error | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
| int anope_event_gnotice | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
| int anope_event_hs | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 609 of file bahamut.c.
References m_privmsg(), and s_HostServ.
| int anope_event_join | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
| int anope_event_kick | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
| int anope_event_kill | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
| int anope_event_luserslock | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
| int anope_event_mode | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 995 of file bahamut.c.
References do_cmode(), and do_umode().
| int anope_event_motd | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
| int anope_event_ms | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 600 of file bahamut.c.
References m_privmsg(), and s_MemoServ.
| int anope_event_nick | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 556 of file bahamut.c.
References anope_set_umode(), and do_nick().
| int anope_event_notice | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
| int anope_event_ns | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 591 of file bahamut.c.
References m_privmsg(), and s_NickServ.
| int anope_event_os | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 582 of file bahamut.c.
References m_privmsg(), and s_OperServ.
| int anope_event_part | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
| int anope_event_pass | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
| int anope_event_ping | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 1300 of file bahamut.c.
References bahamut_cmd_pong(), and ServerName.
| int anope_event_privmsg | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 932 of file bahamut.c.
References m_privmsg().
| int anope_event_quit | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
| int anope_event_rehash | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
| int anope_event_server | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
| int anope_event_sjoin | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 532 of file bahamut.c.
References do_sjoin().
| int anope_event_sqline | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
| int anope_event_squit | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 978 of file bahamut.c.
References do_squit().
| int anope_event_svinfo | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
| int anope_event_topic | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 970 of file bahamut.c.
References do_topic().
| int anope_event_whois | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
| int AnopeInit | ( | int | argc, | |
| char ** | argv | |||
| ) |
Now tell anope how to use us.
Deal with modes anope _needs_ to know
Definition at line 1654 of file bahamut.c.
References CMODE_i, CMODE_k, CMODE_l, CMODE_p, CMODE_s, moduleAddAnopeCmds(), moduleAddAuthor(), moduleAddIRCDMsgs(), moduleAddVersion(), moduleSetType(), myCsmodes, pmodule_invis_umode(), pmodule_invite_cmode(), pmodule_ircd_cap(), pmodule_ircd_cbmodeinfos(), pmodule_ircd_cbmodes(), pmodule_ircd_cmmodes(), pmodule_ircd_csmodes(), pmodule_ircd_cumodes(), pmodule_ircd_flood_mode_char_remove(), pmodule_ircd_flood_mode_char_set(), pmodule_ircd_useTSMode(), pmodule_ircd_var(), pmodule_ircd_version(), pmodule_key_mode(), pmodule_limit_mode(), pmodule_oper_umode(), pmodule_permchan_mode(), pmodule_private_cmode(), pmodule_secret_cmode(), PROTOCOL, UMODE_i, and UMODE_o.
| void bahamut_cmd_211 | ( | char * | buf | ) |
Definition at line 1222 of file bahamut.c.
References send_cmd().
Referenced by moduleAddAnopeCmds().
| void bahamut_cmd_219 | ( | char * | source, | |
| char * | letter | |||
| ) |
Definition at line 1168 of file bahamut.c.
References send_cmd().
Referenced by moduleAddAnopeCmds().
| void bahamut_cmd_242 | ( | char * | buf | ) |
Definition at line 1202 of file bahamut.c.
References send_cmd().
Referenced by moduleAddAnopeCmds().
| void bahamut_cmd_243 | ( | char * | buf | ) |
Definition at line 1212 of file bahamut.c.
References send_cmd().
Referenced by moduleAddAnopeCmds().
| void bahamut_cmd_250 | ( | char * | buf | ) |
Definition at line 1118 of file bahamut.c.
References send_cmd().
Referenced by moduleAddAnopeCmds().
| void bahamut_cmd_307 | ( | char * | buf | ) |
Definition at line 1128 of file bahamut.c.
References send_cmd(), and ServerName.
Referenced by moduleAddAnopeCmds().
| void bahamut_cmd_311 | ( | char * | buf | ) |
Definition at line 1138 of file bahamut.c.
References send_cmd(), and ServerName.
Referenced by moduleAddAnopeCmds().
| void bahamut_cmd_312 | ( | char * | buf | ) |
Definition at line 1148 of file bahamut.c.
References send_cmd(), and ServerName.
Referenced by moduleAddAnopeCmds().
| void bahamut_cmd_317 | ( | char * | buf | ) |
Definition at line 1158 of file bahamut.c.
References send_cmd(), and ServerName.
Referenced by moduleAddAnopeCmds().
| void bahamut_cmd_318 | ( | char * | source, | |
| char * | who | |||
| ) |
Definition at line 1192 of file bahamut.c.
References send_cmd(), and ServerName.
Referenced by moduleAddAnopeCmds().
| void bahamut_cmd_351 | ( | char * | source | ) |
Definition at line 1308 of file bahamut.c.
References EncModule, ircd, ircdvars_::name, send_cmd(), ServerName, version_build, version_flags, and version_number.
Referenced by moduleAddAnopeCmds().
| void bahamut_cmd_372 | ( | char * | source, | |
| char * | msg | |||
| ) |
Definition at line 1249 of file bahamut.c.
References send_cmd(), and ServerName.
Referenced by moduleAddAnopeCmds().
| void bahamut_cmd_372_error | ( | char * | source | ) |
Definition at line 1254 of file bahamut.c.
References send_cmd(), and ServerName.
Referenced by moduleAddAnopeCmds().
| void bahamut_cmd_375 | ( | char * | source | ) |
Definition at line 1260 of file bahamut.c.
References send_cmd(), and ServerName.
Referenced by moduleAddAnopeCmds().
| void bahamut_cmd_376 | ( | char * | source | ) |
Definition at line 1266 of file bahamut.c.
References send_cmd(), and ServerName.
Referenced by moduleAddAnopeCmds().
| void bahamut_cmd_391 | ( | char * | source, | |
| char * | timestr | |||
| ) |
Definition at line 1109 of file bahamut.c.
References send_cmd(), and ServerName.
Referenced by moduleAddAnopeCmds().
| void bahamut_cmd_401 | ( | char * | source, | |
| char * | who | |||
| ) |
Definition at line 1183 of file bahamut.c.
References send_cmd(), and ServerName.
Referenced by moduleAddAnopeCmds().
| void bahamut_cmd_akill | ( | char * | user, | |
| char * | host, | |||
| char * | who, | |||
| time_t | when, | |||
| time_t | expires, | |||
| char * | reason | |||
| ) |
Definition at line 807 of file bahamut.c.
References send_cmd().
Referenced by moduleAddAnopeCmds().
| void bahamut_cmd_bob | ( | ) |
Definition at line 914 of file bahamut.c.
Referenced by moduleAddAnopeCmds().
| void bahamut_cmd_bot_chan_mode | ( | char * | nick, | |
| char * | chan | |||
| ) |
Definition at line 526 of file bahamut.c.
References anope_cmd_mode(), ircdvars_::botchanumode, and ircd.
Referenced by moduleAddAnopeCmds().
| void bahamut_cmd_bot_nick | ( | char * | nick, | |
| char * | user, | |||
| char * | host, | |||
| char * | real, | |||
| char * | modes | |||
| ) |
Definition at line 1316 of file bahamut.c.
References bahamut_cmd_sqline(), EnforceQlinedNick(), s_BotServ, send_cmd(), and ServerName.
Referenced by moduleAddAnopeCmds().
| void bahamut_cmd_burst | ( | ) |
Definition at line 794 of file bahamut.c.
References send_cmd().
Referenced by bahamut_cmd_connect().
| void bahamut_cmd_capab | ( | ) |
Definition at line 890 of file bahamut.c.
References send_cmd().
Referenced by bahamut_cmd_connect().
| void bahamut_cmd_chg_nick | ( | char * | oldnick, | |
| char * | newnick | |||
| ) |
Definition at line 1394 of file bahamut.c.
References send_cmd().
Referenced by moduleAddAnopeCmds().
| void bahamut_cmd_chghost | ( | char * | nick, | |
| char * | vhost | |||
| ) |
| void bahamut_cmd_connect | ( | int | servernum | ) |
Definition at line 896 of file bahamut.c.
References bahamut_cmd_burst(), bahamut_cmd_capab(), bahamut_cmd_pass(), bahamut_cmd_server(), bahamut_cmd_svinfo(), me_server, new_server(), RemotePassword, RemotePassword2, RemotePassword3, SERVER_ISME, ServerDesc, and ServerName.
Referenced by moduleAddAnopeCmds().
| void bahamut_cmd_ctcp | ( | char * | source, | |
| char * | dest, | |||
| char * | buf | |||
| ) |
Definition at line 1546 of file bahamut.c.
References normalizeBuffer(), and send_cmd().
Referenced by moduleAddAnopeCmds().
| void bahamut_cmd_eob | ( | ) |
Definition at line 1450 of file bahamut.c.
References send_cmd().
Referenced by moduleAddAnopeCmds().
| void bahamut_cmd_global | ( | char * | source, | |
| char * | buf | |||
| ) |
Definition at line 1099 of file bahamut.c.
References send_cmd(), and ServerName.
Referenced by moduleAddAnopeCmds().
| void bahamut_cmd_global_legacy | ( | char * | source, | |
| char * | fmt | |||
| ) |
Definition at line 1521 of file bahamut.c.
References send_cmd(), and ServerName.
Referenced by moduleAddAnopeCmds().
| void bahamut_cmd_guest_nick | ( | char * | nick, | |
| char * | user, | |||
| char * | host, | |||
| char * | real, | |||
| char * | modes | |||
| ) |
Definition at line 1339 of file bahamut.c.
References send_cmd(), and ServerName.
Referenced by moduleAddAnopeCmds().
| void bahamut_cmd_invite | ( | char * | source, | |
| char * | chan, | |||
| char * | nick | |||
| ) |
Definition at line 1272 of file bahamut.c.
References send_cmd().
Referenced by moduleAddAnopeCmds().
| void bahamut_cmd_join | ( | char * | user, | |
| char * | channel, | |||
| time_t | chantime | |||
| ) |
Definition at line 789 of file bahamut.c.
References send_cmd().
Referenced by moduleAddAnopeCmds().
| void bahamut_cmd_jupe | ( | char * | jserver, | |
| char * | who, | |||
| char * | reason | |||
| ) |
Definition at line 1507 of file bahamut.c.
References bahamut_cmd_server(), bahamut_cmd_squit(), findserver(), me_server, new_server(), SERVER_JUPED, servlist, and snprintf().
Referenced by moduleAddAnopeCmds().
| void bahamut_cmd_kick | ( | char * | source, | |
| char * | chan, | |||
| char * | user, | |||
| char * | buf | |||
| ) |
Definition at line 1240 of file bahamut.c.
References send_cmd().
Referenced by moduleAddAnopeCmds().
| void bahamut_cmd_mode | ( | char * | source, | |
| char * | dest, | |||
| char * | buf | |||
| ) |
Definition at line 478 of file bahamut.c.
References ircdcap, send_cmd(), ircdcapab_::tsmode, and uplink_capab.
Referenced by moduleAddAnopeCmds().
| void bahamut_cmd_nc_change | ( | User * | u | ) |
Definition at line 1372 of file bahamut.c.
References common_svsmode().
Referenced by moduleAddAnopeCmds().
| void bahamut_cmd_nick | ( | char * | nick, | |
| char * | name, | |||
| char * | modes | |||
| ) |
Definition at line 1231 of file bahamut.c.
References bahamut_cmd_sqline(), EnforceQlinedNick(), send_cmd(), ServerName, ServiceHost, and ServiceUser.
Referenced by moduleAddAnopeCmds().
| void bahamut_cmd_notice | ( | char * | source, | |
| char * | dest, | |||
| char * | buf | |||
| ) |
Definition at line 1056 of file bahamut.c.
References bahamut_cmd_privmsg2(), NI_MSG, NSDefFlags, and send_cmd().
Referenced by moduleAddAnopeCmds().
| void bahamut_cmd_notice2 | ( | char * | source, | |
| char * | dest, | |||
| char * | msg | |||
| ) |
Definition at line 1069 of file bahamut.c.
References send_cmd().
Referenced by moduleAddAnopeCmds().
| void bahamut_cmd_notice_ops | ( | char * | source, | |
| char * | dest, | |||
| char * | buf | |||
| ) |
Definition at line 1047 of file bahamut.c.
References send_cmd().
Referenced by moduleAddAnopeCmds().
| void bahamut_cmd_part | ( | char * | nick, | |
| char * | chan, | |||
| char * | buf | |||
| ) |
Definition at line 761 of file bahamut.c.
References send_cmd().
Referenced by moduleAddAnopeCmds().
| void bahamut_cmd_pass | ( | char * | pass | ) |
Definition at line 878 of file bahamut.c.
References send_cmd().
Referenced by bahamut_cmd_connect().
| void bahamut_cmd_pong | ( | char * | servname, | |
| char * | who | |||
| ) |
Definition at line 859 of file bahamut.c.
References send_cmd().
Referenced by anope_event_ping(), and moduleAddAnopeCmds().
| void bahamut_cmd_privmsg | ( | char * | source, | |
| char * | dest, | |||
| char * | buf | |||
| ) |
Definition at line 1074 of file bahamut.c.
References send_cmd().
Referenced by moduleAddAnopeCmds().
| void bahamut_cmd_privmsg2 | ( | char * | source, | |
| char * | dest, | |||
| char * | msg | |||
| ) |
Definition at line 1083 of file bahamut.c.
References send_cmd().
Referenced by bahamut_cmd_notice(), and moduleAddAnopeCmds().
| void bahamut_cmd_quit | ( | char * | source, | |
| char * | buf | |||
| ) |
Definition at line 1282 of file bahamut.c.
References send_cmd().
Referenced by moduleAddAnopeCmds().
| void bahamut_cmd_release_svshold | ( | char * | nick | ) |
Definition at line 503 of file bahamut.c.
References send_cmd(), and ServerName.
Referenced by moduleAddAnopeCmds().
| void bahamut_cmd_remove_akill | ( | char * | user, | |
| char * | host | |||
| ) |
Definition at line 755 of file bahamut.c.
References send_cmd().
Referenced by moduleAddAnopeCmds().
| void bahamut_cmd_serv_notice | ( | char * | source, | |
| char * | dest, | |||
| char * | msg | |||
| ) |
Definition at line 1088 of file bahamut.c.
References send_cmd().
Referenced by moduleAddAnopeCmds().
| void bahamut_cmd_serv_privmsg | ( | char * | source, | |
| char * | dest, | |||
| char * | msg | |||
| ) |
Definition at line 1093 of file bahamut.c.
References send_cmd().
Referenced by moduleAddAnopeCmds().
| void bahamut_cmd_server | ( | char * | servname, | |
| int | hop, | |||
| char * | descript | |||
| ) |
Definition at line 884 of file bahamut.c.
References send_cmd().
Referenced by bahamut_cmd_connect(), and bahamut_cmd_jupe().
| void bahamut_cmd_sgline | ( | char * | mask, | |
| char * | reason | |||
| ) |
Definition at line 749 of file bahamut.c.
References send_cmd().
Referenced by moduleAddAnopeCmds().
| void bahamut_cmd_sqline | ( | char * | mask, | |
| char * | reason | |||
| ) |
Definition at line 703 of file bahamut.c.
References send_cmd().
Referenced by bahamut_cmd_bot_nick(), bahamut_cmd_nick(), and moduleAddAnopeCmds().
| void bahamut_cmd_squit | ( | char * | servname, | |
| char * | message | |||
| ) |
Definition at line 853 of file bahamut.c.
References send_cmd().
Referenced by bahamut_cmd_jupe(), and moduleAddAnopeCmds().
| void bahamut_cmd_svid_umode | ( | char * | nick, | |
| time_t | ts | |||
| ) |
Definition at line 1363 of file bahamut.c.
References send_cmd(), and ServerName.
Referenced by moduleAddAnopeCmds().
| void bahamut_cmd_svid_umode2 | ( | User * | u, | |
| char * | ts | |||
| ) |
Definition at line 1378 of file bahamut.c.
Referenced by moduleAddAnopeCmds().
| void bahamut_cmd_svid_umode3 | ( | User * | u, | |
| char * | ts | |||
| ) |
Definition at line 1384 of file bahamut.c.
References common_svsmode(), user_::svid, and user_::timestamp.
Referenced by moduleAddAnopeCmds().
| void bahamut_cmd_svinfo | ( | ) |
Definition at line 872 of file bahamut.c.
References send_cmd().
Referenced by bahamut_cmd_connect().
| void bahamut_cmd_svsadmin | ( | char * | server, | |
| int | set | |||
| ) |
Definition at line 743 of file bahamut.c.
References bahamut_cmd_svsnoop().
| void bahamut_cmd_svshold | ( | char * | nick | ) |
Definition at line 496 of file bahamut.c.
References NSReleaseTimeout, send_cmd(), and ServerName.
Referenced by moduleAddAnopeCmds().
| void bahamut_cmd_svsjoin | ( | char * | source, | |
| char * | nick, | |||
| char * | chan, | |||
| char * | param | |||
| ) |
Definition at line 1434 of file bahamut.c.
Referenced by moduleAddAnopeCmds().
| void bahamut_cmd_svskill | ( | char * | source, | |
| char * | user, | |||
| char * | buf | |||
| ) |
Definition at line 823 of file bahamut.c.
References send_cmd().
Referenced by moduleAddAnopeCmds().
| void bahamut_cmd_svsmode | ( | User * | u, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 840 of file bahamut.c.
References user_::nick, send_cmd(), ServerName, and user_::timestamp.
Referenced by moduleAddAnopeCmds().
| void bahamut_cmd_svsmode_chan | ( | char * | name, | |
| char * | mode, | |||
| char * | nick | |||
| ) |
Definition at line 517 of file bahamut.c.
References send_cmd(), and ServerName.
Referenced by bahamut_cmd_unban(), and moduleAddAnopeCmds().
| void bahamut_cmd_svsnick | ( | char * | source, | |
| char * | guest, | |||
| time_t | when | |||
| ) |
Definition at line 1331 of file bahamut.c.
References send_cmd().
Referenced by moduleAddAnopeCmds().
| void bahamut_cmd_svsnoop | ( | char * | server, | |
| int | set | |||
| ) |
Definition at line 738 of file bahamut.c.
References send_cmd().
Referenced by bahamut_cmd_svsadmin(), and moduleAddAnopeCmds().
| void bahamut_cmd_svso | ( | char * | source, | |
| char * | nick, | |||
| char * | flag | |||
| ) |
Definition at line 1346 of file bahamut.c.
Referenced by moduleAddAnopeCmds().
| void bahamut_cmd_svspart | ( | char * | source, | |
| char * | nick, | |||
| char * | chan | |||
| ) |
Definition at line 1439 of file bahamut.c.
Referenced by moduleAddAnopeCmds().
| void bahamut_cmd_swhois | ( | char * | source, | |
| char * | who, | |||
| char * | mask | |||
| ) |
Definition at line 1444 of file bahamut.c.
Referenced by moduleAddAnopeCmds().
| void bahamut_cmd_szline | ( | char * | mask, | |
| char * | reason, | |||
| char * | whom | |||
| ) |
Definition at line 728 of file bahamut.c.
References send_cmd().
Referenced by moduleAddAnopeCmds().
| void bahamut_cmd_topic | ( | char * | whosets, | |
| char * | chan, | |||
| char * | whosetit, | |||
| char * | topic, | |||
| time_t | when | |||
| ) |
Definition at line 775 of file bahamut.c.
References send_cmd().
Referenced by moduleAddAnopeCmds().
| void bahamut_cmd_unban | ( | char * | name, | |
| char * | nick | |||
| ) |
Definition at line 509 of file bahamut.c.
References bahamut_cmd_svsmode_chan().
Referenced by moduleAddAnopeCmds().
| void bahamut_cmd_unsgline | ( | char * | mask | ) |
Definition at line 713 of file bahamut.c.
References send_cmd().
Referenced by moduleAddAnopeCmds().
| void bahamut_cmd_unsqline | ( | char * | user | ) |
Definition at line 783 of file bahamut.c.
References send_cmd().
Referenced by moduleAddAnopeCmds().
| void bahamut_cmd_unszline | ( | char * | mask | ) |
Definition at line 719 of file bahamut.c.
References send_cmd().
Referenced by moduleAddAnopeCmds().
| void bahamut_cmd_vhost_off | ( | User * | u | ) |
Definition at line 1356 of file bahamut.c.
Referenced by moduleAddAnopeCmds().
| void bahamut_cmd_vhost_on | ( | char * | nick, | |
| char * | vIdent, | |||
| char * | vhost | |||
| ) |
Definition at line 1351 of file bahamut.c.
Referenced by moduleAddAnopeCmds().
| int bahamut_flood_mode_check | ( | char * | value | ) |
Definition at line 1493 of file bahamut.c.
Referenced by moduleAddAnopeCmds().
| void bahamut_set_umode | ( | User * | user, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 154 of file bahamut.c.
References alog(), anope_cmd_global(), common_svsmode(), debug, display_news(), is_services_admin(), user_::mode, NEWS_OPER, user_::nick, nick_identified(), opcnt, s_OperServ, user_::svid, umodes, UnRestrictSAdmin, and WallOper.
Referenced by moduleAddAnopeCmds().
| int bahamut_valid_chan | ( | char * | chan | ) |
Definition at line 1540 of file bahamut.c.
Referenced by moduleAddAnopeCmds().
| int bahamut_valid_nick | ( | char * | nick | ) |
Definition at line 1530 of file bahamut.c.
Referenced by moduleAddAnopeCmds().
| void moduleAddAnopeCmds | ( | ) |
Tell anope which function we want to perform each task inside of anope. These prototypes must match what anope expects.
Definition at line 1572 of file bahamut.c.
References bahamut_cmd_211(), bahamut_cmd_219(), bahamut_cmd_242(), bahamut_cmd_243(), bahamut_cmd_250(), bahamut_cmd_307(), bahamut_cmd_311(), bahamut_cmd_312(), bahamut_cmd_317(), bahamut_cmd_318(), bahamut_cmd_351(), bahamut_cmd_372(), bahamut_cmd_372_error(), bahamut_cmd_375(), bahamut_cmd_376(), bahamut_cmd_391(), bahamut_cmd_401(), bahamut_cmd_akill(), bahamut_cmd_bob(), bahamut_cmd_bot_chan_mode(), bahamut_cmd_bot_nick(), bahamut_cmd_chg_nick(), bahamut_cmd_connect(), bahamut_cmd_ctcp(), bahamut_cmd_eob(), bahamut_cmd_global(), bahamut_cmd_global_legacy(), bahamut_cmd_guest_nick(), bahamut_cmd_invite(), bahamut_cmd_join(), bahamut_cmd_jupe(), bahamut_cmd_kick(), bahamut_cmd_mode(), bahamut_cmd_nc_change(), bahamut_cmd_nick(), bahamut_cmd_notice(), bahamut_cmd_notice2(), bahamut_cmd_notice_ops(), bahamut_cmd_part(), bahamut_cmd_pong(), bahamut_cmd_privmsg(), bahamut_cmd_privmsg2(), bahamut_cmd_quit(), bahamut_cmd_release_svshold(), bahamut_cmd_remove_akill(), bahamut_cmd_serv_notice(), bahamut_cmd_serv_privmsg(), bahamut_cmd_sgline(), bahamut_cmd_sqline(), bahamut_cmd_squit(), bahamut_cmd_svid_umode(), bahamut_cmd_svid_umode2(), bahamut_cmd_svid_umode3(), bahamut_cmd_svshold(), bahamut_cmd_svsjoin(), bahamut_cmd_svskill(), bahamut_cmd_svsmode(), bahamut_cmd_svsmode_chan(), bahamut_cmd_svsnick(), bahamut_cmd_svsnoop(), bahamut_cmd_svso(), bahamut_cmd_svspart(), bahamut_cmd_swhois(), bahamut_cmd_szline(), bahamut_cmd_topic(), bahamut_cmd_unban(), bahamut_cmd_unsgline(), bahamut_cmd_unsqline(), bahamut_cmd_unszline(), bahamut_cmd_vhost_off(), bahamut_cmd_vhost_on(), bahamut_flood_mode_check(), bahamut_set_umode(), bahamut_valid_chan(), bahamut_valid_nick(), pmodule_cmd_211(), pmodule_cmd_219(), pmodule_cmd_242(), pmodule_cmd_243(), pmodule_cmd_250(), pmodule_cmd_307(), pmodule_cmd_311(), pmodule_cmd_312(), pmodule_cmd_317(), pmodule_cmd_318(), pmodule_cmd_351(), pmodule_cmd_372(), pmodule_cmd_372_error(), pmodule_cmd_375(), pmodule_cmd_376(), pmodule_cmd_391(), pmodule_cmd_401(), pmodule_cmd_akill(), pmodule_cmd_bob(), pmodule_cmd_bot_chan_mode(), pmodule_cmd_bot_nick(), pmodule_cmd_chg_nick(), pmodule_cmd_connect(), pmodule_cmd_ctcp(), pmodule_cmd_eob(), pmodule_cmd_global(), pmodule_cmd_global_legacy(), pmodule_cmd_guest_nick(), pmodule_cmd_invite(), pmodule_cmd_join(), pmodule_cmd_jupe(), pmodule_cmd_kick(), pmodule_cmd_mode(), pmodule_cmd_nc_change(), pmodule_cmd_nick(), pmodule_cmd_notice(), pmodule_cmd_notice2(), pmodule_cmd_notice_ops(), pmodule_cmd_part(), pmodule_cmd_pong(), pmodule_cmd_privmsg(), pmodule_cmd_privmsg2(), pmodule_cmd_quit(), pmodule_cmd_release_svshold(), pmodule_cmd_remove_akill(), pmodule_cmd_serv_notice(), pmodule_cmd_serv_privmsg(), pmodule_cmd_sgline(), pmodule_cmd_sqline(), pmodule_cmd_squit(), pmodule_cmd_svid_umode(), pmodule_cmd_svid_umode2(), pmodule_cmd_svid_umode3(), pmodule_cmd_svshold(), pmodule_cmd_svsjoin(), pmodule_cmd_svskill(), pmodule_cmd_svsmode(), pmodule_cmd_svsmode_chan(), pmodule_cmd_svsnick(), pmodule_cmd_svsnoop(), pmodule_cmd_svso(), pmodule_cmd_svspart(), pmodule_cmd_swhois(), pmodule_cmd_szline(), pmodule_cmd_topic(), pmodule_cmd_unban(), pmodule_cmd_unsgline(), pmodule_cmd_unsqline(), pmodule_cmd_unszline(), pmodule_cmd_vhost_off(), pmodule_cmd_vhost_on(), pmodule_flood_mode_check(), pmodule_set_umode(), pmodule_valid_chan(), and pmodule_valid_nick().
Referenced by AnopeInit().
| void moduleAddIRCDMsgs | ( | void | ) |
Definition at line 636 of file bahamut.c.
References addCoreMessage(), anope_event_436(), anope_event_admin(), anope_event_away(), anope_event_burst(), anope_event_capab(), anope_event_cs(), anope_event_error(), anope_event_gnotice(), anope_event_hs(), anope_event_join(), anope_event_kick(), anope_event_kill(), anope_event_luserslock(), anope_event_mode(), anope_event_motd(), anope_event_ms(), anope_event_nick(), anope_event_notice(), anope_event_ns(), anope_event_null(), anope_event_os(), anope_event_part(), anope_event_pass(), anope_event_ping(), anope_event_privmsg(), anope_event_quit(), anope_event_server(), anope_event_sjoin(), anope_event_sqline(), anope_event_squit(), anope_event_svinfo(), anope_event_topic(), anope_event_whois(), createMessage(), IRCD, and updateProtectDetails().
{
{'c', CMODE_c, 0, NULL, NULL},
{'i', CMODE_i, 0, NULL, NULL},
{'j', CMODE_j, 0, get_flood, cs_get_flood},
{'k', CMODE_k, 0, get_key, cs_get_key},
{'l', CMODE_l, CBM_MINUS_NO_ARG, get_limit, cs_get_limit},
{'m', CMODE_m, 0, NULL, NULL},
{'n', CMODE_n, 0, NULL, NULL},
{'p', CMODE_p, 0, NULL, NULL},
{'r', CMODE_r, 0, NULL, NULL},
{'s', CMODE_s, 0, NULL, NULL},
{'t', CMODE_t, 0, NULL, NULL},
{'M', CMODE_M, 0, NULL, NULL},
{'O', CMODE_O, 0, NULL, NULL},
{'R', CMODE_R, 0, NULL, NULL},
{0}
}
| char myCsmodes[128] |
{
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0,
0,
0, 0, 0,
0,
0, 0, 0, 0,
0,
'v', 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
'o', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
}
Definition at line 277 of file bahamut.c.
Referenced by anope_event_capab(), AnopeInit(), and sym_from_char().
1.7.1