#include "services.h"#include "pseudo.h"#include "inspircd11.h"#include "version.h"#include <sys/socket.h>#include <netinet/in.h>#include <arpa/inet.h>
Go to the source code of this file.
Functions | |
| void | inspircd_set_umode (User *user, int ac, char **av) |
| void | moduleAddIRCDMsgs (void) |
| void | inspircd_cmd_svsnoop (char *server, int set) |
| void | inspircd_cmd_svsadmin (char *server, int set) |
| void | inspircd_cmd_remove_akill (char *user, char *host) |
| void | inspircd_cmd_topic (char *whosets, char *chan, char *whosetit, char *topic, time_t when) |
| void | inspircd_cmd_vhost_off (User *u) |
| void | inspircd_cmd_akill (char *user, char *host, char *who, time_t when, time_t expires, char *reason) |
| void | inspircd_cmd_svskill (char *source, char *user, char *buf) |
| void | inspircd_cmd_svsmode (User *u, int ac, char **av) |
| void | inspircd_cmd_372 (char *source, char *msg) |
| void | inspircd_cmd_372_error (char *source) |
| void | inspircd_cmd_375 (char *source) |
| void | inspircd_cmd_376 (char *source) |
| void | inspircd_cmd_nick (char *nick, char *name, char *modes) |
| void | inspircd_cmd_guest_nick (char *nick, char *user, char *host, char *real, char *modes) |
| void | inspircd_cmd_mode (char *source, char *dest, char *buf) |
| int | anope_event_version (char *source, int ac, char **av) |
| int | anope_event_idle (char *source, int ac, char **av) |
| int | anope_event_ftopic (char *source, int ac, char **av) |
| int | anope_event_opertype (char *source, int ac, char **av) |
| int | anope_event_fmode (char *source, int ac, char **av) |
| int | anope_event_fjoin (char *source, int ac, char **av) |
| void | inspircd_cmd_bot_nick (char *nick, char *user, char *host, char *real, char *modes) |
| void | inspircd_cmd_kick (char *source, char *chan, char *user, char *buf) |
| void | inspircd_cmd_notice_ops (char *source, char *dest, char *buf) |
| void | inspircd_cmd_notice (char *source, char *dest, char *buf) |
| void | inspircd_cmd_notice2 (char *source, char *dest, char *msg) |
| void | inspircd_cmd_privmsg (char *source, char *dest, char *buf) |
| void | inspircd_cmd_privmsg2 (char *source, char *dest, char *msg) |
| void | inspircd_cmd_serv_notice (char *source, char *dest, char *msg) |
| void | inspircd_cmd_serv_privmsg (char *source, char *dest, char *msg) |
| void | inspircd_cmd_bot_chan_mode (char *nick, char *chan) |
| void | inspircd_cmd_351 (char *source) |
| void | inspircd_cmd_quit (char *source, char *buf) |
| void | inspircd_cmd_protoctl () |
| void | inspircd_cmd_pass (char *pass) |
| void | inspircd_cmd_server (char *servname, int hop, char *descript) |
| void | inspircd_cmd_pong (char *servname, char *who) |
| void | inspircd_cmd_join (char *user, char *channel, time_t chantime) |
| void | inspircd_cmd_unsqline (char *user) |
| void | inspircd_cmd_chghost (char *nick, char *vhost) |
| void | inspircd_cmd_chgident (char *nick, char *vIdent) |
| void | inspircd_cmd_invite (char *source, char *chan, char *nick) |
| void | inspircd_cmd_part (char *nick, char *chan, char *buf) |
| void | inspircd_cmd_391 (char *source, char *timestr) |
| void | inspircd_cmd_250 (char *buf) |
| void | inspircd_cmd_307 (char *buf) |
| void | inspircd_cmd_311 (char *buf) |
| void | inspircd_cmd_312 (char *buf) |
| void | inspircd_cmd_317 (char *buf) |
| void | inspircd_cmd_219 (char *source, char *letter) |
| void | inspircd_cmd_401 (char *source, char *who) |
| void | inspircd_cmd_318 (char *source, char *who) |
| void | inspircd_cmd_242 (char *buf) |
| void | inspircd_cmd_243 (char *buf) |
| void | inspircd_cmd_211 (char *buf) |
| void | inspircd_cmd_global (char *source, char *buf) |
| void | inspircd_cmd_sqline (char *mask, char *reason) |
| void | inspircd_cmd_squit (char *servname, char *message) |
| void | inspircd_cmd_svso (char *source, char *nick, char *flag) |
| void | inspircd_cmd_chg_nick (char *oldnick, char *newnick) |
| void | inspircd_cmd_svsnick (char *source, char *guest, time_t when) |
| void | inspircd_cmd_vhost_on (char *nick, char *vIdent, char *vhost) |
| void | inspircd_cmd_connect (int servernum) |
| void | inspircd_cmd_bob () |
| int | anope_event_ping (char *source, int ac, char **av) |
| int | anope_event_436 (char *source, int ac, char **av) |
| int | anope_event_away (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_rsquit (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) |
| int | anope_event_setname (char *source, int ac, char **av) |
| int | anope_event_chgname (char *source, int ac, char **av) |
| int | anope_event_setident (char *source, int ac, char **av) |
| int | anope_event_chgident (char *source, int ac, char **av) |
| int | anope_event_sethost (char *source, int ac, char **av) |
| int | anope_event_nick (char *source, int ac, char **av) |
| int | anope_event_chghost (char *source, int ac, char **av) |
| int | anope_event_server (char *source, int ac, char **av) |
| int | anope_event_privmsg (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_capab (char *source, int ac, char **av) |
| void | inspircd_cmd_svshold (char *nick) |
| void | inspircd_cmd_release_svshold (char *nick) |
| void | inspircd_cmd_unsgline (char *mask) |
| void | inspircd_cmd_unszline (char *mask) |
| void | inspircd_cmd_szline (char *mask, char *reason, char *whom) |
| void | inspircd_cmd_sgline (char *mask, char *reason) |
| void | inspircd_cmd_unban (char *name, char *nick) |
| void | inspircd_cmd_svsmode_chan (char *name, char *mode, char *nick) |
| void | inspircd_cmd_svid_umode (char *nick, time_t ts) |
| void | inspircd_cmd_nc_change (User *u) |
| void | inspircd_cmd_svid_umode2 (User *u, char *ts) |
| void | inspircd_cmd_svid_umode3 (User *u, char *ts) |
| void | inspircd_cmd_svsjoin (char *source, char *nick, char *chan, char *param) |
| void | inspircd_cmd_svspart (char *source, char *nick, char *chan) |
| void | inspircd_cmd_swhois (char *source, char *who, char *mask) |
| void | inspircd_cmd_eob () |
| 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 | inspircd_flood_mode_check (char *value) |
| void | inspircd_cmd_jupe (char *jserver, char *who, char *reason) |
| void | inspircd_cmd_global_legacy (char *source, char *fmt) |
| int | inspircd_valid_nick (char *nick) |
| int | inspircd_valid_chan (char *chan) |
| void | inspircd_cmd_ctcp (char *source, char *dest, char *buf) |
| int | inspircd_jointhrottle_mode_check (char *value) |
| 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] |
| static int | has_servicesmod = 0 |
| static int | has_globopsmod = 0 |
| static int | has_svsholdmod = 0 |
| static int | has_chghostmod = 0 |
| static int | has_chgidentmod = 0 |
| static int | has_messagefloodmod = 0 |
| static int | has_banexceptionmod = 0 |
| static int | has_inviteexceptionmod = 0 |
| static char | currentpass [1024] |
| int anope_event_436 | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 1197 of file inspircd11.c.
References m_nickcoll().
| int anope_event_admin | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 1763 of file inspircd11.c.
| int anope_event_away | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 1206 of file inspircd11.c.
References m_away().
| int anope_event_capab | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 1524 of file inspircd11.c.
References cmmode_::addmask, alog(), anope_cmd_global(), capab_parse(), cbmodeinfo_::csgetvalue, cbmode_::cssetvalue, debug, cmmode_::delmask, ircdvars_::except, cbmode_::flag, cbmode_::flags, ircdvars_::fmode, cbmodeinfo_::getvalue, has_banexceptionmod, has_chghostmod, has_chgidentmod, has_globopsmod, has_inviteexceptionmod, has_messagefloodmod, has_servicesmod, has_svsholdmod, ircdvars_::invitemode, ircd, cbmodeinfo_::mode, pmodule_ircd_cbmodeinfos(), pmodule_ircd_cbmodes(), pmodule_ircd_cmmodes(), quitmsg, quitting, s_OperServ, scalloc(), send_cmd(), cbmode_::setvalue, and ircdvars_::svshold.
| int anope_event_chghost | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 1470 of file inspircd11.c.
References alog(), change_user_host(), debug, and finduser().
| int anope_event_chgident | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 1399 of file inspircd11.c.
References alog(), change_user_username(), debug, and finduser().
| int anope_event_chgname | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 1361 of file inspircd11.c.
References alog(), change_user_realname(), debug, and finduser().
| int anope_event_credits | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 1758 of file inspircd11.c.
| int anope_event_fjoin | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 723 of file inspircd11.c.
Referenced by moduleAddIRCDMsgs().
| int anope_event_fmode | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 684 of file inspircd11.c.
Referenced by moduleAddIRCDMsgs().
| int anope_event_ftopic | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 656 of file inspircd11.c.
Referenced by moduleAddIRCDMsgs().
| int anope_event_idle | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 648 of file inspircd11.c.
Referenced by moduleAddIRCDMsgs().
| int anope_event_join | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 1324 of file inspircd11.c.
References do_join().
| int anope_event_kick | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 1315 of file inspircd11.c.
References do_kick().
| int anope_event_kill | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 1306 of file inspircd11.c.
References m_kill().
| int anope_event_mode | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 1284 of file inspircd11.c.
References do_cmode(), and do_umode().
| int anope_event_motd | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 1332 of file inspircd11.c.
References m_motd().
| int anope_event_nick | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 1438 of file inspircd11.c.
References anope_set_umode(), and do_nick().
| int anope_event_opertype | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 669 of file inspircd11.c.
Referenced by moduleAddIRCDMsgs().
| int anope_event_part | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 1508 of file inspircd11.c.
References do_part().
| int anope_event_ping | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 1188 of file inspircd11.c.
References inspircd_cmd_pong(), and ServerName.
| int anope_event_privmsg | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 1500 of file inspircd11.c.
References m_privmsg().
| int anope_event_quit | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 1275 of file inspircd11.c.
References do_quit().
| int anope_event_rehash | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 1753 of file inspircd11.c.
| int anope_event_rsquit | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 1261 of file inspircd11.c.
Referenced by moduleAddIRCDMsgs().
| int anope_event_server | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 1490 of file inspircd11.c.
References do_server(), sstrdup(), stricmp(), and uplink.
| int anope_event_sethost | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 1418 of file inspircd11.c.
References alog(), change_user_host(), debug, and finduser().
| int anope_event_setident | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 1380 of file inspircd11.c.
References alog(), change_user_username(), debug, and finduser().
| int anope_event_setname | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 1342 of file inspircd11.c.
References alog(), change_user_realname(), debug, and finduser().
| int anope_event_squit | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 1253 of file inspircd11.c.
References do_squit().
| int anope_event_topic | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 1217 of file inspircd11.c.
References alog(), c, check_topiclock(), debug, EVENT_TOPIC_UPDATED, findchan(), merge_args(), record_topic(), send_event(), sstrdup(), strscpy(), channel_::topic, channel_::topic_setter, and channel_::topic_time.
| int anope_event_version | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 643 of file inspircd11.c.
Referenced by moduleAddIRCDMsgs().
| int anope_event_whois | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 1516 of file inspircd11.c.
References m_whois().
| int AnopeInit | ( | int | argc, | |
| char ** | argv | |||
| ) |
Now tell anope how to use us.
Deal with modes anope _needs_ to know
Definition at line 1936 of file inspircd11.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 inspircd_cmd_211 | ( | char * | buf | ) |
Definition at line 1081 of file inspircd11.c.
Referenced by moduleAddAnopeCmds().
| void inspircd_cmd_219 | ( | char * | source, | |
| char * | letter | |||
| ) |
Definition at line 1027 of file inspircd11.c.
Referenced by moduleAddAnopeCmds().
| void inspircd_cmd_242 | ( | char * | buf | ) |
Definition at line 1061 of file inspircd11.c.
Referenced by moduleAddAnopeCmds().
| void inspircd_cmd_243 | ( | char * | buf | ) |
Definition at line 1071 of file inspircd11.c.
Referenced by moduleAddAnopeCmds().
| void inspircd_cmd_250 | ( | char * | buf | ) |
Definition at line 977 of file inspircd11.c.
Referenced by moduleAddAnopeCmds().
| void inspircd_cmd_307 | ( | char * | buf | ) |
Definition at line 987 of file inspircd11.c.
Referenced by moduleAddAnopeCmds().
| void inspircd_cmd_311 | ( | char * | buf | ) |
Definition at line 997 of file inspircd11.c.
Referenced by moduleAddAnopeCmds().
| void inspircd_cmd_312 | ( | char * | buf | ) |
Definition at line 1007 of file inspircd11.c.
Referenced by moduleAddAnopeCmds().
| void inspircd_cmd_317 | ( | char * | buf | ) |
Definition at line 1017 of file inspircd11.c.
Referenced by moduleAddAnopeCmds().
| void inspircd_cmd_318 | ( | char * | source, | |
| char * | who | |||
| ) |
Definition at line 1051 of file inspircd11.c.
Referenced by moduleAddAnopeCmds().
| void inspircd_cmd_351 | ( | char * | source | ) |
Definition at line 859 of file inspircd11.c.
Referenced by moduleAddAnopeCmds().
| void inspircd_cmd_372 | ( | char * | source, | |
| char * | msg | |||
| ) |
Definition at line 591 of file inspircd11.c.
Referenced by moduleAddAnopeCmds().
| void inspircd_cmd_372_error | ( | char * | source | ) |
Definition at line 596 of file inspircd11.c.
Referenced by moduleAddAnopeCmds().
| void inspircd_cmd_375 | ( | char * | source | ) |
Definition at line 602 of file inspircd11.c.
Referenced by moduleAddAnopeCmds().
| void inspircd_cmd_376 | ( | char * | source | ) |
Definition at line 608 of file inspircd11.c.
Referenced by moduleAddAnopeCmds().
| void inspircd_cmd_391 | ( | char * | source, | |
| char * | timestr | |||
| ) |
Definition at line 968 of file inspircd11.c.
Referenced by moduleAddAnopeCmds().
| void inspircd_cmd_401 | ( | char * | source, | |
| char * | who | |||
| ) |
Definition at line 1042 of file inspircd11.c.
Referenced by moduleAddAnopeCmds().
| void inspircd_cmd_akill | ( | char * | user, | |
| char * | host, | |||
| char * | who, | |||
| time_t | when, | |||
| time_t | expires, | |||
| char * | reason | |||
| ) |
Definition at line 566 of file inspircd11.c.
Referenced by moduleAddAnopeCmds().
| void inspircd_cmd_bob | ( | ) |
Definition at line 1181 of file inspircd11.c.
Referenced by moduleAddAnopeCmds().
| void inspircd_cmd_bot_chan_mode | ( | char * | nick, | |
| char * | chan | |||
| ) |
Definition at line 854 of file inspircd11.c.
Referenced by moduleAddAnopeCmds().
| void inspircd_cmd_bot_nick | ( | char * | nick, | |
| char * | user, | |||
| char * | host, | |||
| char * | real, | |||
| char * | modes | |||
| ) |
Definition at line 783 of file inspircd11.c.
Referenced by moduleAddAnopeCmds().
| void inspircd_cmd_chg_nick | ( | char * | oldnick, | |
| char * | newnick | |||
| ) |
Definition at line 1127 of file inspircd11.c.
Referenced by moduleAddAnopeCmds().
| void inspircd_cmd_chghost | ( | char * | nick, | |
| char * | vhost | |||
| ) |
Definition at line 918 of file inspircd11.c.
Referenced by inspircd_cmd_vhost_off(), and inspircd_cmd_vhost_on().
| void inspircd_cmd_chgident | ( | char * | nick, | |
| char * | vIdent | |||
| ) |
Definition at line 931 of file inspircd11.c.
Referenced by inspircd_cmd_vhost_off(), and inspircd_cmd_vhost_on().
| void inspircd_cmd_connect | ( | int | servernum | ) |
Definition at line 1160 of file inspircd11.c.
Referenced by moduleAddAnopeCmds().
| void inspircd_cmd_ctcp | ( | char * | source, | |
| char * | dest, | |||
| char * | buf | |||
| ) |
Definition at line 1812 of file inspircd11.c.
Referenced by moduleAddAnopeCmds().
| void inspircd_cmd_eob | ( | ) |
Definition at line 1747 of file inspircd11.c.
Referenced by moduleAddAnopeCmds().
| void inspircd_cmd_global | ( | char * | source, | |
| char * | buf | |||
| ) |
Definition at line 1091 of file inspircd11.c.
Referenced by moduleAddAnopeCmds().
| void inspircd_cmd_global_legacy | ( | char * | source, | |
| char * | fmt | |||
| ) |
Definition at line 1796 of file inspircd11.c.
Referenced by moduleAddAnopeCmds().
| void inspircd_cmd_guest_nick | ( | char * | nick, | |
| char * | user, | |||
| char * | host, | |||
| char * | real, | |||
| char * | modes | |||
| ) |
Definition at line 625 of file inspircd11.c.
Referenced by moduleAddAnopeCmds().
| void inspircd_cmd_invite | ( | char * | source, | |
| char * | chan, | |||
| char * | nick | |||
| ) |
Definition at line 944 of file inspircd11.c.
Referenced by moduleAddAnopeCmds().
| void inspircd_cmd_join | ( | char * | user, | |
| char * | channel, | |||
| time_t | chantime | |||
| ) |
Definition at line 903 of file inspircd11.c.
Referenced by moduleAddAnopeCmds().
| void inspircd_cmd_jupe | ( | char * | jserver, | |
| char * | who, | |||
| char * | reason | |||
| ) |
Definition at line 1782 of file inspircd11.c.
Referenced by moduleAddAnopeCmds().
| void inspircd_cmd_kick | ( | char * | source, | |
| char * | chan, | |||
| char * | user, | |||
| char * | buf | |||
| ) |
Definition at line 792 of file inspircd11.c.
Referenced by moduleAddAnopeCmds().
| void inspircd_cmd_mode | ( | char * | source, | |
| char * | dest, | |||
| char * | buf | |||
| ) |
Definition at line 632 of file inspircd11.c.
Referenced by moduleAddAnopeCmds().
| void inspircd_cmd_nc_change | ( | User * | u | ) |
Definition at line 1712 of file inspircd11.c.
Referenced by moduleAddAnopeCmds().
| void inspircd_cmd_nick | ( | char * | nick, | |
| char * | name, | |||
| char * | modes | |||
| ) |
Definition at line 613 of file inspircd11.c.
Referenced by moduleAddAnopeCmds().
| void inspircd_cmd_notice | ( | char * | source, | |
| char * | dest, | |||
| char * | buf | |||
| ) |
Definition at line 811 of file inspircd11.c.
Referenced by moduleAddAnopeCmds().
| void inspircd_cmd_notice2 | ( | char * | source, | |
| char * | dest, | |||
| char * | msg | |||
| ) |
Definition at line 824 of file inspircd11.c.
Referenced by moduleAddAnopeCmds().
| void inspircd_cmd_notice_ops | ( | char * | source, | |
| char * | dest, | |||
| char * | buf | |||
| ) |
Definition at line 801 of file inspircd11.c.
Referenced by moduleAddAnopeCmds().
| void inspircd_cmd_part | ( | char * | nick, | |
| char * | chan, | |||
| char * | buf | |||
| ) |
Definition at line 954 of file inspircd11.c.
Referenced by moduleAddAnopeCmds().
| void inspircd_cmd_pass | ( | char * | pass | ) |
Definition at line 884 of file inspircd11.c.
References currentpass.
Referenced by inspircd_cmd_connect().
| void inspircd_cmd_pong | ( | char * | servname, | |
| char * | who | |||
| ) |
Definition at line 897 of file inspircd11.c.
Referenced by anope_event_ping(), and moduleAddAnopeCmds().
| void inspircd_cmd_privmsg | ( | char * | source, | |
| char * | dest, | |||
| char * | buf | |||
| ) |
Definition at line 829 of file inspircd11.c.
Referenced by moduleAddAnopeCmds().
| void inspircd_cmd_privmsg2 | ( | char * | source, | |
| char * | dest, | |||
| char * | msg | |||
| ) |
Definition at line 838 of file inspircd11.c.
Referenced by inspircd_cmd_notice(), and moduleAddAnopeCmds().
| void inspircd_cmd_protoctl | ( | ) |
Definition at line 877 of file inspircd11.c.
| void inspircd_cmd_quit | ( | char * | source, | |
| char * | buf | |||
| ) |
Definition at line 867 of file inspircd11.c.
Referenced by moduleAddAnopeCmds().
| void inspircd_cmd_release_svshold | ( | char * | nick | ) |
Definition at line 1659 of file inspircd11.c.
Referenced by moduleAddAnopeCmds().
| void inspircd_cmd_remove_akill | ( | char * | user, | |
| char * | host | |||
| ) |
Definition at line 541 of file inspircd11.c.
Referenced by moduleAddAnopeCmds().
| void inspircd_cmd_serv_notice | ( | char * | source, | |
| char * | dest, | |||
| char * | msg | |||
| ) |
Definition at line 843 of file inspircd11.c.
Referenced by moduleAddAnopeCmds().
| void inspircd_cmd_serv_privmsg | ( | char * | source, | |
| char * | dest, | |||
| char * | msg | |||
| ) |
Definition at line 848 of file inspircd11.c.
Referenced by moduleAddAnopeCmds().
| void inspircd_cmd_server | ( | char * | servname, | |
| int | hop, | |||
| char * | descript | |||
| ) |
Definition at line 890 of file inspircd11.c.
References currentpass, send_cmd(), and ServerName.
Referenced by inspircd_cmd_connect(), and inspircd_cmd_jupe().
| void inspircd_cmd_sgline | ( | char * | mask, | |
| char * | reason | |||
| ) |
Definition at line 1684 of file inspircd11.c.
Referenced by moduleAddAnopeCmds().
| void inspircd_cmd_sqline | ( | char * | mask, | |
| char * | reason | |||
| ) |
Definition at line 1101 of file inspircd11.c.
Referenced by moduleAddAnopeCmds().
| void inspircd_cmd_squit | ( | char * | servname, | |
| char * | message | |||
| ) |
Definition at line 1112 of file inspircd11.c.
Referenced by inspircd_cmd_jupe(), and moduleAddAnopeCmds().
| void inspircd_cmd_svid_umode | ( | char * | nick, | |
| time_t | ts | |||
| ) |
Definition at line 1704 of file inspircd11.c.
Referenced by moduleAddAnopeCmds().
| void inspircd_cmd_svid_umode2 | ( | User * | u, | |
| char * | ts | |||
| ) |
Definition at line 1720 of file inspircd11.c.
Referenced by moduleAddAnopeCmds().
| void inspircd_cmd_svid_umode3 | ( | User * | u, | |
| char * | ts | |||
| ) |
Definition at line 1727 of file inspircd11.c.
Referenced by moduleAddAnopeCmds().
| void inspircd_cmd_svsadmin | ( | char * | server, | |
| int | set | |||
| ) |
Definition at line 536 of file inspircd11.c.
| void inspircd_cmd_svshold | ( | char * | nick | ) |
Definition at line 1652 of file inspircd11.c.
Referenced by moduleAddAnopeCmds().
| void inspircd_cmd_svsjoin | ( | char * | source, | |
| char * | nick, | |||
| char * | chan, | |||
| char * | param | |||
| ) |
Definition at line 1732 of file inspircd11.c.
References send_cmd().
Referenced by moduleAddAnopeCmds().
| void inspircd_cmd_svskill | ( | char * | source, | |
| char * | user, | |||
| char * | buf | |||
| ) |
Definition at line 573 of file inspircd11.c.
Referenced by moduleAddAnopeCmds().
| void inspircd_cmd_svsmode | ( | User * | u, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 581 of file inspircd11.c.
Referenced by moduleAddAnopeCmds().
| void inspircd_cmd_svsmode_chan | ( | char * | name, | |
| char * | mode, | |||
| char * | nick | |||
| ) |
Definition at line 1696 of file inspircd11.c.
Referenced by moduleAddAnopeCmds().
| void inspircd_cmd_svsnick | ( | char * | source, | |
| char * | guest, | |||
| time_t | when | |||
| ) |
Definition at line 1137 of file inspircd11.c.
Referenced by moduleAddAnopeCmds().
| void inspircd_cmd_svsnoop | ( | char * | server, | |
| int | set | |||
| ) |
Definition at line 531 of file inspircd11.c.
Referenced by moduleAddAnopeCmds().
| void inspircd_cmd_svso | ( | char * | source, | |
| char * | nick, | |||
| char * | flag | |||
| ) |
Definition at line 1122 of file inspircd11.c.
Referenced by moduleAddAnopeCmds().
| void inspircd_cmd_svspart | ( | char * | source, | |
| char * | nick, | |||
| char * | chan | |||
| ) |
Definition at line 1737 of file inspircd11.c.
References send_cmd().
Referenced by moduleAddAnopeCmds().
| void inspircd_cmd_swhois | ( | char * | source, | |
| char * | who, | |||
| char * | mask | |||
| ) |
Definition at line 1742 of file inspircd11.c.
Referenced by moduleAddAnopeCmds().
| void inspircd_cmd_szline | ( | char * | mask, | |
| char * | reason, | |||
| char * | whom | |||
| ) |
Definition at line 1677 of file inspircd11.c.
Referenced by moduleAddAnopeCmds().
| void inspircd_cmd_topic | ( | char * | whosets, | |
| char * | chan, | |||
| char * | whosetit, | |||
| char * | topic, | |||
| time_t | when | |||
| ) |
Definition at line 547 of file inspircd11.c.
Referenced by moduleAddAnopeCmds().
| void inspircd_cmd_unban | ( | char * | name, | |
| char * | nick | |||
| ) |
Definition at line 1689 of file inspircd11.c.
Referenced by moduleAddAnopeCmds().
| void inspircd_cmd_unsgline | ( | char * | mask | ) |
Definition at line 1665 of file inspircd11.c.
| void inspircd_cmd_unsqline | ( | char * | user | ) |
Definition at line 909 of file inspircd11.c.
Referenced by moduleAddAnopeCmds().
| void inspircd_cmd_unszline | ( | char * | mask | ) |
Definition at line 1671 of file inspircd11.c.
Referenced by moduleAddAnopeCmds().
| void inspircd_cmd_vhost_off | ( | User * | u | ) |
Definition at line 554 of file inspircd11.c.
Referenced by moduleAddAnopeCmds().
| void inspircd_cmd_vhost_on | ( | char * | nick, | |
| char * | vIdent, | |||
| char * | vhost | |||
| ) |
Definition at line 1149 of file inspircd11.c.
Referenced by moduleAddAnopeCmds().
| int inspircd_flood_mode_check | ( | char * | value | ) |
Definition at line 1768 of file inspircd11.c.
Referenced by moduleAddAnopeCmds().
| int inspircd_jointhrottle_mode_check | ( | char * | value | ) |
Definition at line 1827 of file inspircd11.c.
Referenced by moduleAddAnopeCmds().
| void inspircd_set_umode | ( | User * | user, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 401 of file inspircd11.c.
Referenced by moduleAddAnopeCmds().
| int inspircd_valid_chan | ( | char * | chan | ) |
Definition at line 1806 of file inspircd11.c.
Referenced by moduleAddAnopeCmds().
| int inspircd_valid_nick | ( | char * | nick | ) |
Definition at line 1801 of file inspircd11.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 1853 of file inspircd11.c.
References inspircd_cmd_211(), inspircd_cmd_219(), inspircd_cmd_242(), inspircd_cmd_243(), inspircd_cmd_250(), inspircd_cmd_307(), inspircd_cmd_311(), inspircd_cmd_312(), inspircd_cmd_317(), inspircd_cmd_318(), inspircd_cmd_351(), inspircd_cmd_372(), inspircd_cmd_372_error(), inspircd_cmd_375(), inspircd_cmd_376(), inspircd_cmd_391(), inspircd_cmd_401(), inspircd_cmd_akill(), inspircd_cmd_bob(), inspircd_cmd_bot_chan_mode(), inspircd_cmd_bot_nick(), inspircd_cmd_chg_nick(), inspircd_cmd_connect(), inspircd_cmd_ctcp(), inspircd_cmd_eob(), inspircd_cmd_global(), inspircd_cmd_global_legacy(), inspircd_cmd_guest_nick(), inspircd_cmd_invite(), inspircd_cmd_join(), inspircd_cmd_jupe(), inspircd_cmd_kick(), inspircd_cmd_mode(), inspircd_cmd_nc_change(), inspircd_cmd_nick(), inspircd_cmd_notice(), inspircd_cmd_notice2(), inspircd_cmd_notice_ops(), inspircd_cmd_part(), inspircd_cmd_pong(), inspircd_cmd_privmsg(), inspircd_cmd_privmsg2(), inspircd_cmd_quit(), inspircd_cmd_release_svshold(), inspircd_cmd_remove_akill(), inspircd_cmd_serv_notice(), inspircd_cmd_serv_privmsg(), inspircd_cmd_sgline(), inspircd_cmd_sqline(), inspircd_cmd_squit(), inspircd_cmd_svid_umode(), inspircd_cmd_svid_umode2(), inspircd_cmd_svid_umode3(), inspircd_cmd_svshold(), inspircd_cmd_svsjoin(), inspircd_cmd_svskill(), inspircd_cmd_svsmode(), inspircd_cmd_svsmode_chan(), inspircd_cmd_svsnick(), inspircd_cmd_svsnoop(), inspircd_cmd_svso(), inspircd_cmd_svspart(), inspircd_cmd_swhois(), inspircd_cmd_szline(), inspircd_cmd_topic(), inspircd_cmd_unban(), inspircd_cmd_unsqline(), inspircd_cmd_unszline(), inspircd_cmd_vhost_off(), inspircd_cmd_vhost_on(), inspircd_flood_mode_check(), inspircd_jointhrottle_mode_check(), inspircd_set_umode(), inspircd_valid_chan(), inspircd_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_jointhrottle_mode_check(), pmodule_set_umode(), pmodule_valid_chan(), and pmodule_valid_nick().
| void moduleAddIRCDMsgs | ( | void | ) |
Definition at line 475 of file inspircd11.c.
References addCoreMessage(), anope_event_436(), anope_event_admin(), anope_event_away(), anope_event_capab(), anope_event_chghost(), anope_event_chgident(), anope_event_chgname(), anope_event_credits(), anope_event_fjoin(), anope_event_fmode(), anope_event_ftopic(), anope_event_idle(), anope_event_join(), anope_event_kick(), anope_event_kill(), anope_event_mode(), anope_event_motd(), anope_event_nick(), anope_event_null(), anope_event_opertype(), anope_event_part(), anope_event_ping(), anope_event_privmsg(), anope_event_quit(), anope_event_rehash(), anope_event_rsquit(), anope_event_server(), anope_event_sethost(), anope_event_setident(), anope_event_setname(), anope_event_squit(), anope_event_topic(), anope_event_version(), anope_event_whois(), createMessage(), IRCD, and updateProtectDetails().
char currentpass[1024] [static] |
Definition at line 881 of file inspircd11.c.
Referenced by inspircd_cmd_pass(), and inspircd_cmd_server().
int has_banexceptionmod = 0 [static] |
Definition at line 398 of file inspircd11.c.
Referenced by anope_event_capab().
int has_chghostmod = 0 [static] |
Definition at line 395 of file inspircd11.c.
Referenced by anope_event_capab(), and inspircd_cmd_chghost().
int has_chgidentmod = 0 [static] |
Definition at line 396 of file inspircd11.c.
Referenced by anope_event_capab(), inspircd_cmd_chgident(), and inspircd_cmd_vhost_off().
int has_globopsmod = 0 [static] |
Definition at line 389 of file inspircd11.c.
Referenced by anope_event_capab().
int has_inviteexceptionmod = 0 [static] |
Definition at line 399 of file inspircd11.c.
Referenced by anope_event_capab().
int has_messagefloodmod = 0 [static] |
Definition at line 397 of file inspircd11.c.
Referenced by anope_event_capab().
int has_servicesmod = 0 [static] |
Definition at line 388 of file inspircd11.c.
Referenced by anope_event_capab().
int has_svsholdmod = 0 [static] |
Definition at line 394 of file inspircd11.c.
Referenced by anope_event_capab().
{
{'f', CMODE_f, 0, NULL, NULL},
{'c', CMODE_c, 0, NULL, NULL},
{'i', CMODE_i, 0, NULL, NULL},
{'j', CMODE_j, 0, get_throttle, cs_get_throttle},
{'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},
{'u', CMODE_u, 0, NULL, NULL},
{'z', CMODE_z, 0, NULL, NULL},
{'A', CMODE_A, 0, NULL, NULL},
{'C', CMODE_C, 0, NULL, NULL},
{'G', CMODE_G, 0, NULL, NULL},
{'H', CMODE_H, 0, NULL, NULL},
{'K', CMODE_K, 0, NULL, NULL},
{'L', CMODE_L, 0, get_redirect, cs_get_redirect},
{'N', CMODE_N, 0, NULL, NULL},
{'O', CMODE_O, 0, NULL, NULL},
{'Q', CMODE_Q, 0, NULL, NULL},
{'R', CMODE_R, 0, NULL, NULL},
{'S', CMODE_S, 0, NULL, NULL},
{'V', CMODE_V, 0, NULL, NULL},
{0}
}
Definition at line 311 of file inspircd11.c.
Definition at line 245 of file inspircd11.c.
{
{NULL}, {NULL}, {NULL}, {NULL}, {NULL}, {NULL}, {NULL}, {NULL},
{NULL}, {NULL}, {NULL}, {NULL}, {NULL}, {NULL}, {NULL}, {NULL},
{NULL}, {NULL}, {NULL}, {NULL}, {NULL}, {NULL}, {NULL}, {NULL},
{NULL}, {NULL}, {NULL}, {NULL}, {NULL}, {NULL}, {NULL}, {NULL},
{NULL}, {NULL}, {NULL}, {NULL}, {NULL}, {NULL}, {NULL}, {NULL},
{NULL}, {NULL}, {NULL}, {NULL}, {NULL}, {NULL}, {NULL}, {NULL},
{NULL}, {NULL}, {NULL}, {NULL}, {NULL}, {NULL}, {NULL}, {NULL},
{NULL}, {NULL}, {NULL}, {NULL}, {NULL}, {NULL}, {NULL}, {NULL},
{NULL}, {NULL}, {NULL}, {NULL}, {NULL}, {NULL}, {NULL}, {NULL},
{NULL}, {NULL}, {NULL}, {NULL}, {NULL}, {NULL}, {NULL}, {NULL},
{NULL}, {NULL}, {NULL}, {NULL}, {NULL}, {NULL}, {NULL}, {NULL},
{NULL}, {NULL}, {NULL}, {NULL}, {NULL}, {NULL}, {NULL}, {NULL},
{NULL},
{NULL},
{add_ban, del_ban},
{NULL},
{NULL},
{NULL, NULL},
{NULL},
{NULL},
{NULL}, {NULL}, {NULL}, {NULL}, {NULL}, {NULL}, {NULL}, {NULL},
{NULL}, {NULL}, {NULL}, {NULL}, {NULL}, {NULL}, {NULL}, {NULL},
{NULL}, {NULL}, {NULL}, {NULL}, {NULL}, {NULL}, {NULL}, {NULL}
}
Definition at line 217 of file inspircd11.c.
| 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,
'h',
'a',
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, 'q', 0
}
Definition at line 196 of file inspircd11.c.
Definition at line 341 of file inspircd11.c.
Definition at line 38 of file inspircd11.c.
Definition at line 138 of file inspircd11.c.
| unsigned long umodes[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, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, UMODE_A, 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, UMODE_a, 0, 0, 0, 0, 0,
UMODE_g,
UMODE_h, UMODE_i, 0, 0, 0, 0, 0, UMODE_o,
0,
0, UMODE_r, 0, 0, 0, 0, UMODE_w,
UMODE_x,
0,
0,
0, 0, 0, 0, 0
}
Definition at line 172 of file inspircd11.c.
1.7.1