#include "slist.h"

Go to the source code of this file.
Defines | |
| #define | E extern |
| #define | EI extern |
| #define | whosends(ci) ((!(ci) || !((ci)->botflags & BS_SYMBIOSIS) || !(ci)->bi || !(ci)->c || (ci)->c->usercount < BSMinUsers) ? s_ChanServ : (ci)->bi->nick) |
| #define | vsnprintf my_vsnprintf |
| #define | getstring(na, index) (langtexts[((na)&&((NickAlias*)na)->nc&&!(((NickAlias*)na)->status & NS_VERBOTEN)?((NickAlias*)na)->nc->language:NSDefLanguage)][(index)]) |
| #define | getstring2(nc, index) (langtexts[((nc)?((NickCore*)nc)->language:NSDefLanguage)][(index)]) |
| #define | Anope_Free(x) if ((x) != NULL) free(x) |
Typedefs | |
| typedef int(* | range_callback_t )(User *u, int num, va_list args) |
Functions | |
| E void | ModuleRunTimeDirCleanUp (void) |
| E void | kill_user (char *source, char *user, char *reason) |
| E void | bad_password (User *u) |
| E void | sqline (char *mask, char *reason) |
| E void | common_unban (ChannelInfo *ci, char *nick) |
| E void | common_unban_full (ChannelInfo *ci, char *nick, boolean full) |
| E void | common_svsmode (User *u, char *modes, char *arg) |
| E void | get_botserv_stats (long *nrec, long *memuse) |
| E void | bs_init (void) |
| E void | botserv (User *u, char *buf) |
| E void | botmsgs (User *u, BotInfo *bi, char *buf) |
| E void | botchanmsgs (User *u, ChannelInfo *ci, char *buf) |
| E void | load_bs_dbase (void) |
| E void | save_bs_dbase (void) |
| E void | save_bs_rdb_dbase (void) |
| E BotInfo * | makebot (char *nick) |
| E BotInfo * | findbot (char *nick) |
| E void | bot_join (ChannelInfo *ci) |
| E void | bot_rejoin_all (BotInfo *bi) |
| E char * | normalizeBuffer (char *) |
| E void | unassign (User *u, ChannelInfo *ci) |
| E void | insert_bot (BotInfo *bi) |
| E void | bot_raw_ban (User *requester, ChannelInfo *ci, char *nick, char *reason) |
| E void | bot_raw_kick (User *requester, ChannelInfo *ci, char *nick, char *reason) |
| E void | bot_raw_mode (User *requester, ChannelInfo *ci, char *mode, char *nick) |
| E void | add_ban (Channel *chan, char *mask) |
| E void | chan_adduser2 (User *user, Channel *c) |
| E void | add_invite (Channel *chan, char *mask) |
| E void | chan_delete (Channel *c) |
| E void | del_ban (Channel *chan, char *mask) |
| E void | chan_set_throttle (Channel *chan, char *value) |
| E void | chan_set_key (Channel *chan, char *value) |
| E void | set_limit (Channel *chan, char *value) |
| E void | del_invite (Channel *chan, char *mask) |
| E char * | get_key (Channel *chan) |
| E char * | get_limit (Channel *chan) |
| E Channel * | chan_create (char *chan, time_t ts) |
| E Channel * | join_user_update (User *user, Channel *chan, char *name, time_t chants) |
| E void | add_exception (Channel *chan, char *mask) |
| E void | del_exception (Channel *chan, char *mask) |
| E char * | get_flood (Channel *chan) |
| E void | set_flood (Channel *chan, char *value) |
| E char * | get_throttle (Channel *chan) |
| E void | set_throttle (Channel *chan, char *value) |
| E char * | get_redirect (Channel *chan) |
| E void | set_redirect (Channel *chan, char *value) |
| E char * | get_unkwn (Channel *chan) |
| E void | set_unkwn (Channel *chan, char *value) |
| E void | get_channel_stats (long *nrec, long *memuse) |
| E Channel * | findchan (const char *chan) |
| E Channel * | firstchan (void) |
| E Channel * | nextchan (void) |
| E void | chan_deluser (User *user, Channel *c) |
| E int | is_on_chan (Channel *c, User *u) |
| E User * | nc_on_chan (Channel *c, NickCore *nc) |
| E char * | chan_get_modes (Channel *chan, int complete, int plus) |
| E void | chan_set_modes (const char *source, Channel *chan, int ac, char **av, int check) |
| E int | chan_get_user_status (Channel *chan, User *user) |
| E int | chan_has_user_status (Channel *chan, User *user, int16 status) |
| E void | chan_remove_user_status (Channel *chan, User *user, int16 status) |
| E void | chan_set_user_status (Channel *chan, User *user, int16 status) |
| E int | get_access_level (ChannelInfo *ci, NickAlias *na) |
| E const char * | get_xop_level (int level) |
| E void | do_cmode (const char *source, int ac, char **av) |
| E void | do_join (const char *source, int ac, char **av) |
| E void | do_kick (const char *source, int ac, char **av) |
| E void | do_part (const char *source, int ac, char **av) |
| E void | do_sjoin (const char *source, int ac, char **av) |
| E void | do_topic (const char *source, int ac, char **av) |
| E void | do_mass_mode (char *modes) |
| E void | chan_set_correct_modes (User *user, Channel *c, int give_modes) |
| E void | restore_unsynced_topics (void) |
| E Entry * | entry_create (char *mask) |
| E Entry * | entry_add (EList *list, char *mask) |
| E void | entry_delete (EList *list, Entry *e) |
| E EList * | list_create () |
| E int | entry_match (Entry *e, char *nick, char *user, char *host, uint32 ip) |
| E int | entry_match_mask (Entry *e, char *mask, uint32 ip) |
| E Entry * | elist_match (EList *list, char *nick, char *user, char *host, uint32 ip) |
| E Entry * | elist_match_mask (EList *list, char *mask, uint32 ip) |
| E Entry * | elist_match_user (EList *list, User *u) |
| E Entry * | elist_match_user_full (EList *list, User *u, boolean full) |
| E Entry * | elist_find_mask (EList *list, char *mask) |
| E long | get_memuse (EList *list) |
| E void | listchans (int count_only, const char *chan) |
| E void | get_chanserv_stats (long *nrec, long *memuse) |
| E int | delchan (ChannelInfo *ci) |
| E void | alpha_insert_chan (ChannelInfo *ci) |
| E void | reset_levels (ChannelInfo *ci) |
| E void | cs_init (void) |
| E void | chanserv (User *u, char *buf) |
| E void | load_cs_dbase (void) |
| E void | save_cs_dbase (void) |
| E void | save_cs_rdb_dbase (void) |
| E void | expire_chans (void) |
| E void | cs_remove_nick (const NickCore *nc) |
| E void | cs_remove_bot (const BotInfo *bi) |
| E int | is_real_founder (User *user, ChannelInfo *ci) |
| E void | check_modes (Channel *c) |
| E int | check_valid_admin (User *user, Channel *chan, int servermode) |
| E int | check_valid_op (User *user, Channel *chan, int servermode) |
| E int | check_should_op (User *user, char *chan) |
| E int | check_should_voice (User *user, char *chan) |
| E int | check_should_halfop (User *user, char *chan) |
| E int | check_should_owner (User *user, char *chan) |
| E int | check_should_protect (User *user, char *chan) |
| E int | check_kick (User *user, char *chan, time_t chants) |
| E void | record_topic (const char *chan) |
| E void | restore_topic (char *chan) |
| E int | check_topiclock (Channel *c, time_t topic_time) |
| E ChannelInfo * | cs_findchan (const char *chan) |
| E int | check_access (User *user, ChannelInfo *ci, int what) |
| E int | is_founder (User *user, ChannelInfo *ci) |
| E int | get_access (User *user, ChannelInfo *ci) |
| E ChanAccess * | get_access_entry (NickCore *nc, ChannelInfo *ci) |
| E void | update_cs_lastseen (User *user, ChannelInfo *ci) |
| E int | get_idealban (ChannelInfo *ci, User *u, char *ret, int retlen) |
| E AutoKick * | is_stuck (ChannelInfo *ci, char *mask) |
| E void | stick_mask (ChannelInfo *ci, AutoKick *akick) |
| E void | stick_all (ChannelInfo *ci) |
| E char * | cs_get_flood (ChannelInfo *ci) |
| E void | cs_set_flood (ChannelInfo *ci, char *value) |
| E char * | cs_get_throttle (ChannelInfo *ci) |
| E void | cs_set_throttle (ChannelInfo *ci, char *value) |
| E char * | cs_get_key (ChannelInfo *ci) |
| E void | cs_set_key (ChannelInfo *ci, char *value) |
| E char * | cs_get_limit (ChannelInfo *ci) |
| E void | cs_set_limit (ChannelInfo *ci, char *value) |
| E char * | cs_get_redirect (ChannelInfo *ci) |
| E void | cs_set_redirect (ChannelInfo *ci, char *value) |
| E char * | cs_get_unkwn (ChannelInfo *ci) |
| E void | cs_set_unkwn (ChannelInfo *ci, char *value) |
| E ChannelInfo * | makechan (const char *chan) |
| E int | is_identified (User *user, ChannelInfo *ci) |
| E char * | get_mlock_modes (ChannelInfo *ci, int complete) |
| E void | CleanAccess (ChannelInfo *ci) |
| E int | vsnprintf (char *buf, size_t size, const char *fmt, va_list args) |
| E int | snprintf (char *buf, size_t size, const char *fmt,...) |
| E int | stricmp (const char *s1, const char *s2) |
| E int | strnicmp (const char *s1, const char *s2, size_t len) |
| E char * | strdup (const char *s) |
| E size_t | strspn (const char *s, const char *accept) |
| E char * | strerror (int errnum) |
| char * | strsignal (int signum) |
| E void | load_hs_dbase (void) |
| E void | save_hs_dbase (void) |
| E void | save_hs_rdb_dbase (void) |
| E int | do_on_id (User *u) |
| E void | delHostCore (char *nick) |
| E void | hostserv (User *u, char *buf) |
| E int | parse_directive (Directive *d, char *dir, int ac, char *av[MAXPARAMS], int linenum, int reload, char *s) |
| E int | read_config (int reload) |
| E int | checkDefCon (int level) |
| E void | resetDefCon (int level) |
| E int | enc_encrypt (const char *src, int len, char *dest, int size) |
| E int | enc_encrypt_check_len (int passlen, int bufsize) |
| E int | enc_decrypt (const char *src, char *dest, int size) |
| E int | enc_check_password (const char *plaintext, const char *password) |
| E void | encmodule_encrypt (int(*func)(const char *src, int len, char *dest, int size)) |
| E void | encmodule_encrypt_check_len (int(*func)(int passlen, int bufsize)) |
| E void | encmodule_decrypt (int(*func)(const char *src, char *dest, int size)) |
| E void | encmodule_check_password (int(*func)(const char *plaintext, const char *password)) |
| E void | helpserv (User *u, char *buf) |
| E void | helpserv_init (void) |
| E void | get_hostserv_stats (long *nrec, long *memuse) |
| E void | hostserv_init (void) |
| E void | addHostCore (char *nick, char *vIdent, char *vhost, char *creator, int32 tmp_time) |
| E char * | getvIdent (char *nick) |
| E char * | getvHost (char *nick) |
| E int | is_host_remover (User *u) |
| E int | is_host_setter (User *u) |
| E HostCore * | hostCoreListHead () |
| E HostCore * | findHostCore (HostCore *head, char *nick, boolean *found) |
| E HostCore * | createHostCorelist (HostCore *next, char *nick, char *vIdent, char *vHost, char *creator, int32 tmp_time) |
| E HostCore * | insertHostCore (HostCore *head, HostCore *prev, char *nick, char *vIdent, char *vHost, char *creator, int32 tmp_time) |
| E HostCore * | deleteHostCore (HostCore *head, HostCore *prev) |
| E void | set_lastmask (User *u) |
| E void | introduce_user (const char *user) |
| E int | init_primary (int ac, char **av) |
| E int | init_secondary (int ac, char **av) |
| E void | init_tertiary () |
| E void | pmodule_set_mod_current_buffer (void(*func)(int ac, char **av)) |
| E void | pmodule_cmd_svsnoop (void(*func)(char *server, int set)) |
| E void | pmodule_cmd_remove_akill (void(*func)(char *user, char *host)) |
| E void | pmodule_cmd_topic (void(*func)(char *whosets, char *chan, char *whosetit, char *topic, time_t when)) |
| E void | pmodule_cmd_vhost_off (void(*func)(User *u)) |
| E void | pmodule_cmd_akill (void(*func)(char *user, char *host, char *who, time_t when, time_t expires, char *reason)) |
| E void | pmodule_cmd_svskill (void(*func)(char *source, char *user, char *buf)) |
| E void | pmodule_cmd_svsmode (void(*func)(User *u, int ac, char **av)) |
| E void | pmodule_cmd_372 (void(*func)(char *source, char *msg)) |
| E void | pmodule_cmd_372_error (void(*func)(char *source)) |
| E void | pmodule_cmd_375 (void(*func)(char *source)) |
| E void | pmodule_cmd_376 (void(*func)(char *source)) |
| E void | pmodule_cmd_nick (void(*func)(char *nick, char *name, char *modes)) |
| E void | pmodule_cmd_guest_nick (void(*func)(char *nick, char *user, char *host, char *real, char *modes)) |
| E void | pmodule_cmd_mode (void(*func)(char *source, char *dest, char *buf)) |
| E void | pmodule_cmd_bot_nick (void(*func)(char *nick, char *user, char *host, char *real, char *modes)) |
| E void | pmodule_cmd_kick (void(*func)(char *source, char *chan, char *user, char *buf)) |
| E void | pmodule_cmd_notice_ops (void(*func)(char *source, char *dest, char *buf)) |
| E void | pmodule_cmd_notice (void(*func)(char *source, char *dest, char *buf)) |
| E void | pmodule_cmd_notice2 (void(*func)(char *source, char *dest, char *msg)) |
| E void | pmodule_cmd_privmsg (void(*func)(char *source, char *dest, char *buf)) |
| E void | pmodule_cmd_privmsg2 (void(*func)(char *source, char *dest, char *msg)) |
| E void | pmodule_cmd_serv_notice (void(*func)(char *source, char *dest, char *msg)) |
| E void | pmodule_cmd_serv_privmsg (void(*func)(char *source, char *dest, char *msg)) |
| E void | pmodule_cmd_bot_chan_mode (void(*func)(char *nick, char *chan)) |
| E void | pmodule_cmd_351 (void(*func)(char *source)) |
| E void | pmodule_cmd_quit (void(*func)(char *source, char *buf)) |
| E void | pmodule_cmd_pong (void(*func)(char *servname, char *who)) |
| E void | pmodule_cmd_join (void(*func)(char *user, char *channel, time_t chantime)) |
| E void | pmodule_cmd_unsqline (void(*func)(char *user)) |
| E void | pmodule_cmd_invite (void(*func)(char *source, char *chan, char *nick)) |
| E void | pmodule_cmd_part (void(*func)(char *nick, char *chan, char *buf)) |
| E void | pmodule_cmd_391 (void(*func)(char *source, char *timestr)) |
| E void | pmodule_cmd_250 (void(*func)(char *buf)) |
| E void | pmodule_cmd_307 (void(*func)(char *buf)) |
| E void | pmodule_cmd_311 (void(*func)(char *buf)) |
| E void | pmodule_cmd_312 (void(*func)(char *buf)) |
| E void | pmodule_cmd_317 (void(*func)(char *buf)) |
| E void | pmodule_cmd_219 (void(*func)(char *source, char *letter)) |
| E void | pmodule_cmd_401 (void(*func)(char *source, char *who)) |
| E void | pmodule_cmd_318 (void(*func)(char *source, char *who)) |
| E void | pmodule_cmd_242 (void(*func)(char *buf)) |
| E void | pmodule_cmd_243 (void(*func)(char *buf)) |
| E void | pmodule_cmd_211 (void(*func)(char *buf)) |
| E void | pmodule_cmd_global (void(*func)(char *source, char *buf)) |
| E void | pmodule_cmd_global_legacy (void(*func)(char *source, char *fmt)) |
| E void | pmodule_cmd_sqline (void(*func)(char *mask, char *reason)) |
| E void | pmodule_cmd_squit (void(*func)(char *servname, char *message)) |
| E void | pmodule_cmd_svso (void(*func)(char *source, char *nick, char *flag)) |
| E void | pmodule_cmd_chg_nick (void(*func)(char *oldnick, char *newnick)) |
| E void | pmodule_cmd_svsnick (void(*func)(char *source, char *guest, time_t when)) |
| E void | pmodule_cmd_vhost_on (void(*func)(char *nick, char *vIdent, char *vhost)) |
| E void | pmodule_cmd_connect (void(*func)(int servernum)) |
| E void | pmodule_cmd_bob (void(*func)()) |
| E void | pmodule_cmd_svshold (void(*func)(char *nick)) |
| E void | pmodule_cmd_release_svshold (void(*func)(char *nick)) |
| E void | pmodule_cmd_unsgline (void(*func)(char *mask)) |
| E void | pmodule_cmd_unszline (void(*func)(char *mask)) |
| E void | pmodule_cmd_szline (void(*func)(char *mask, char *reason, char *whom)) |
| E void | pmodule_cmd_sgline (void(*func)(char *mask, char *reason)) |
| E void | pmodule_cmd_unban (void(*func)(char *name, char *nick)) |
| E void | pmodule_cmd_svsmode_chan (void(*func)(char *name, char *mode, char *nick)) |
| E void | pmodule_cmd_svid_umode (void(*func)(char *nick, time_t ts)) |
| E void | pmodule_cmd_nc_change (void(*func)(User *u)) |
| E void | pmodule_cmd_svid_umode2 (void(*func)(User *u, char *ts)) |
| E void | pmodule_cmd_svid_umode3 (void(*func)(User *u, char *ts)) |
| E void | pmodule_cmd_ctcp (void(*func)(char *source, char *dest, char *buf)) |
| E void | pmodule_cmd_svsjoin (void(*func)(char *source, char *nick, char *chan, char *param)) |
| E void | pmodule_cmd_svspart (void(*func)(char *source, char *nick, char *chan)) |
| E void | pmodule_cmd_swhois (void(*func)(char *source, char *who, char *mask)) |
| E void | pmodule_cmd_eob (void(*func)()) |
| E void | pmodule_cmd_jupe (void(*func)(char *jserver, char *who, char *reason)) |
| E void | pmodule_set_umode (void(*func)(User *user, int ac, char **av)) |
| E void | pmodule_valid_nick (int(*func)(char *nick)) |
| E void | pmodule_valid_chan (int(*func)(char *chan)) |
| E void | pmodule_flood_mode_check (int(*func)(char *value)) |
| E void | pmodule_jointhrottle_mode_check (int(*func)(char *value)) |
| E void | pmodule_ircd_var (IRCDVar *ircdvar) |
| E void | pmodule_ircd_cap (IRCDCAPAB *cap) |
| E void | pmodule_ircd_version (char *version) |
| E void | pmodule_ircd_cbmodeinfos (CBModeInfo *modeinfos) |
| E void | pmodule_ircd_cumodes (CUMode modes[128]) |
| E void | pmodule_ircd_flood_mode_char_set (char *mode) |
| E void | pmodule_ircd_flood_mode_char_remove (char *mode) |
| E void | pmodule_ircd_cbmodes (CBMode modes[128]) |
| E void | pmodule_ircd_cmmodes (CMMode modes[128]) |
| E void | pmodule_ircd_csmodes (char mode[128]) |
| E void | pmodule_ircd_useTSMode (int use) |
| E void | pmodule_invis_umode (int mode) |
| E void | pmodule_oper_umode (int mode) |
| E void | pmodule_invite_cmode (int mode) |
| E void | pmodule_secret_cmode (int mode) |
| E void | pmodule_private_cmode (int mode) |
| E void | pmodule_key_mode (int mode) |
| E void | pmodule_limit_mode (int mode) |
| E void | pmodule_permchan_mode (int mode) |
| E int | anope_get_secret_mode () |
| E int | anope_get_invite_mode () |
| E int | anope_get_key_mode () |
| E int | anope_get_limit_mode () |
| E int | anope_get_private_mode () |
| E int | anope_get_invis_mode () |
| E int | anope_get_oper_mode () |
| E int | anope_get_permchan_mode () |
| E void | lang_init (void) |
| E int | strftime_lang (char *buf, int size, User *u, int format, struct tm *tm) |
| E void | syntax_error (char *service, User *u, const char *command, int msgnum) |
| E void | do_listnicks (int ac, char **av) |
| E void | do_listchans (int ac, char **av) |
| E int | open_log (void) |
| E void | close_log (void) |
| E void | alog (const char *fmt,...) FORMAT(printf |
| E void E void | log_perror (const char *fmt,...) FORMAT(printf |
| E void E void E void | fatal (const char *fmt,...) FORMAT(printf |
| E void E void E void E void | fatal_perror (const char *fmt,...) FORMAT(printf |
| E void E void E void E void E MailInfo * | MailBegin (User *u, NickCore *nc, char *subject, char *service) |
| E MailInfo * | MailRegBegin (User *u, NickRequest *nr, char *subject, char *service) |
| E MailInfo * | MailMemoBegin (NickCore *nc) |
| E void | MailEnd (MailInfo *mail) |
| E void | MailReset (User *u, NickCore *nc) |
| E int | MailValidate (const char *email) |
| E void | save_databases (void) |
| E void | expire_all (void) |
| E void | do_backtrace (int show_segheader) |
| E void | sighandler (int signum) |
| E void | do_restart_services (void) |
| E void * | smalloc (long size) |
| E void * | scalloc (long elsize, long els) |
| E void * | srealloc (void *oldptr, long newsize) |
| E char * | sstrdup (const char *s) |
| E void | ms_init (void) |
| E void | memoserv (User *u, char *buf) |
| E void | check_memos (User *u) |
| E MemoInfo * | getmemoinfo (const char *name, int *ischan, int *isforbid) |
| E void | memo_send (User *u, char *name, char *text, int z) |
| E void | memo_send_from (User *u, char *name, char *text, int z, char *source) |
| E int | delmemo (MemoInfo *mi, int num) |
| E int | m_nickcoll (char *user) |
| E int | m_away (char *source, char *msg) |
| E int | m_kill (char *nick, char *msg) |
| E int | m_motd (char *source) |
| E int | m_privmsg (char *source, char *receiver, char *msg) |
| E int | m_stats (char *source, int ac, char **av) |
| E int | m_whois (char *source, char *who) |
| E int | m_time (char *source, int ac, char **av) |
| E int | m_version (char *source, int ac, char **av) |
| E int | toupper (char) |
| E int | tolower (char) |
| E char * | strscpy (char *d, const char *s, size_t len) |
| E size_t | strlcpy (char *, const char *, size_t) |
| E size_t | strlcat (char *, const char *, size_t) |
| E char * | stristr (char *s1, char *s2) |
| E char * | strnrepl (char *s, int32 size, const char *old, const char *new) |
| E char * | merge_args (int argc, char **argv) |
| E int | match_wild (const char *pattern, const char *str) |
| E int | match_wild_nocase (const char *pattern, const char *str) |
| E int | dotime (const char *s) |
| E char * | duration (NickAlias *na, char *buf, int bufsize, time_t seconds) |
| E char * | expire_left (NickAlias *na, char *buf, int len, time_t expires) |
| E void | protocol_debug (char *source, char *cmd, int argc, char **argv) |
| E int | doValidHost (const char *host, int type) |
| E int | process_numlist (const char *numstr, int *count_ret, range_callback_t callback, User *u,...) |
| E int | isValidHost (const char *host, int type) |
| E int | isvalidchar (const char c) |
| E char * | myStrGetToken (const char *str, const char dilim, int token_number) |
| E char * | myStrGetOnlyToken (const char *str, const char dilim, int token_number) |
| E char * | myStrSubString (const char *src, int start, int end) |
| E char * | myStrGetTokenRemainder (const char *str, const char dilim, int token_number) |
| E char * | stripModePrefix (const char *str) |
| E int | myNumToken (const char *str, const char dilim) |
| E void | doCleanBuffer (char *str) |
| E void | EnforceQlinedNick (char *nick, char *killer) |
| E int | nickIsServices (char *nick, int bot) |
| E void | add_entropy_userkeys (void) |
| E void | rand_init (void) |
| E unsigned char | getrandom8 (void) |
| E u_int16_t | getrandom16 (void) |
| E u_int32_t | getrandom32 (void) |
| E char * | str_signed (unsigned char *str) |
| E void | ntoa (struct in_addr addr, char *ipaddr, int len) |
| E char ** | buildStringList (char *src, int *number) |
| E void | binary_to_hex (unsigned char *bin, char *hex, int length) |
| E uint32 | cidr_to_netmask (uint16 cidr) |
| E uint16 | netmask_to_cidr (uint32 mask) |
| E int | str_is_wildcard (const char *str) |
| E int | str_is_pure_wildcard (const char *str) |
| E uint32 | str_is_ip (char *str) |
| E int | str_is_cidr (char *str, uint32 *ip, uint32 *mask, char **host) |
| E void | modules_core_init (int number, char **list) |
| E void | modules_unload_all (boolean fini, boolean unload_proto) |
| E void | moduleCallBackRun (void) |
| E void | moduleCleanStruct (ModuleData **moduleData) |
| E void | ModuleDatabaseBackup (char *dbname) |
| E void | ModuleRemoveBackups (char *dbname) |
| E void | get_news_stats (long *nrec, long *memuse) |
| E void | load_news (void) |
| E void | save_news (void) |
| E void | save_rdb_news (void) |
| E void | display_news (User *u, int16 type) |
| E int | do_logonnews (User *u) |
| E int | do_opernews (User *u) |
| E int | do_randomnews (User *u) |
| E NickRequest * | findrequestnick (const char *nick) |
| E int | delnickrequest (NickRequest *nr) |
| E void | insert_requestnick (NickRequest *nr) |
| E void | alpha_insert_alias (NickAlias *na) |
| E void | insert_core (NickCore *nc) |
| E void | listnicks (int count_only, const char *nick) |
| E void | get_aliases_stats (long *nrec, long *memuse) |
| E void | get_core_stats (long *nrec, long *memuse) |
| E void | collide (NickAlias *na, int from_timeout) |
| E void | del_ns_timeout (NickAlias *na, int type) |
| E void | change_core_display (NickCore *nc, char *newdisplay) |
| E void | release (NickAlias *na, int from_timeout) |
| E int | do_setmodes (User *u) |
| E int | should_mode_change (int16 status, int16 mode) |
| E void | ns_init (void) |
| E void | nickserv (User *u, char *buf) |
| E void | load_ns_dbase (void) |
| E void | load_ns_req_db (void) |
| E void | save_ns_dbase (void) |
| E void | save_ns_req_dbase (void) |
| E void | save_ns_rdb_dbase (void) |
| E void | save_ns_req_rdb_dbase (void) |
| E int | validate_user (User *u) |
| E void | cancel_user (User *u) |
| E int | nick_identified (User *u) |
| E int | nick_recognized (User *u) |
| E void | expire_nicks (void) |
| E void | expire_requests (void) |
| EI int | ns_do_register (User *u) |
| E int | delnick (NickAlias *na) |
| E NickAlias * | findnick (const char *nick) |
| E NickCore * | findcore (const char *nick) |
| E void | clean_ns_timeouts (NickAlias *na) |
| E void | nsStartNickTracking (User *u) |
| E void | nsStopNickTracking (User *u) |
| E int | nsCheckNickTracking (User *u) |
| E int | group_identified (User *u, NickCore *nc) |
| E int | is_on_access (User *u, NickCore *nc) |
| E void | operserv (User *u, char *buf) |
| E void | os_init (void) |
| E void | load_os_dbase (void) |
| E void | save_os_dbase (void) |
| E void | save_os_rdb_dbase (void) |
| E void | os_remove_nick (NickCore *nc) |
| E int | is_services_root (User *u) |
| E int | is_services_admin (User *u) |
| E int | is_services_oper (User *u) |
| E int | nick_is_services_root (NickCore *nc) |
| E int | nick_is_services_admin (NickCore *nc) |
| E int | nick_is_services_oper (NickCore *nc) |
| E int | add_akill (User *u, char *mask, const char *by, const time_t expires, const char *reason) |
| E int | check_akill (char *nick, const char *username, const char *host, const char *vhost, const char *ip) |
| E void | expire_akills (void) |
| E void | oper_global (char *nick, char *fmt,...) |
| E int | add_sgline (User *u, char *mask, const char *by, const time_t expires, const char *reason) |
| E int | check_sgline (char *nick, const char *realname) |
| E void | expire_sglines (void) |
| E int | add_sqline (User *u, char *mask, const char *by, const time_t expires, const char *reason) |
| E int | check_sqline (char *nick, int nick_change) |
| E void | expire_sqlines (void) |
| E int | check_chan_sqline (const char *chan) |
| E int | add_szline (User *u, char *mask, const char *by, const time_t expires, const char *reason) |
| E void | expire_szlines (void) |
| E int | check_szline (char *nick, char *ip) |
| E Server * | server_global (Server *s, char *msg) |
| E void | runDefCon (void) |
| E int | defconParseModeString (const char *str) |
| E void | add_ignore (const char *nick, time_t delta) |
| E IgnoreData * | get_ignore (const char *nick) |
| E int | delete_ignore (const char *nick) |
| E int | clear_ignores () |
| E int | split_buf (char *buf, char ***argv, int colon_special) |
| E void | process (void) |
| E void | send_cmd (const char *source, const char *fmt,...) FORMAT(printf |
| E void E void | vsend_cmd (const char *source, const char *fmt, va_list args) FORMAT(printf |
| E void E void E void | notice_server (char *source, Server *s, char *fmt,...) FORMAT(printf |
| E void E void E void E void | notice_user (char *source, User *u, const char *fmt,...) FORMAT(printf |
| E void E void E void E void E void | notice_list (char *source, char *dest, char **text) |
| E void | notice_lang (char *source, User *dest, int message,...) |
| E void | notice_help (char *source, User *dest, int message,...) |
| E Server * | first_server (int flags) |
| E Server * | next_server (int flags) |
| E int | is_ulined (char *server) |
| E int | is_sync (Server *server) |
| E Server * | new_server (Server *uplink, const char *name, const char *desc, uint16 flags, char *suid) |
| E Server * | findserver (Server *s, const char *name) |
| E void | do_server (const char *source, char *servername, char *hops, char *descript, char *numeric) |
| E void | do_squit (const char *source, int ac, char **av) |
| E void | capab_parse (int ac, char **av) |
| E int | anope_check_sync (const char *name) |
| E void | finish_sync (Server *serv, int sync_links) |
| E void | ts6_uid_init (void) |
| E void | ts6_uid_increment (unsigned int slot) |
| E char * | ts6_uid_retrieve (void) |
| E void | get_session_stats (long *nrec, long *memuse) |
| E void | get_exception_stats (long *nrec, long *memuse) |
| E int | do_session (User *u) |
| E int | add_session (char *nick, char *host, char *hostip) |
| E void | del_session (const char *host) |
| E void | load_exceptions (void) |
| E void | save_exceptions (void) |
| E void | save_rdb_exceptions (void) |
| E int | do_exception (User *u) |
| E void | expire_exceptions (void) |
| E Session * | findsession (const char *host) |
| E Exception * | find_host_exception (const char *host) |
| E Exception * | find_hostip_exception (const char *host, const char *hostip) |
| E int | exception_add (User *u, const char *mask, const int limit, const char *reason, const char *who, const time_t expires) |
| E int | slist_add (SList *slist, void *item) |
| E void | slist_clear (SList *slist, int free) |
| E int | slist_delete (SList *slist, int index) |
| E int | slist_delete_range (SList *slist, char *range, slist_delcheckcb_t cb,...) |
| E int | slist_enum (SList *slist, char *range, slist_enumcb_t cb,...) |
| E int | slist_full (SList *slist) |
| E int | slist_indexof (SList *slist, void *item) |
| E void | slist_init (SList *slist) |
| E void | slist_pack (SList *slist) |
| E int | slist_remove (SList *slist, void *item) |
| E int | slist_setcapacity (SList *slist, int16 capacity) |
| E int32 | read_buffer_len (void) |
| E int32 | write_buffer_len (void) |
| E int | sgetc (ano_socket_t s) |
| E char * | sgets (char *buf, int len, ano_socket_t s) |
| E char * | sgets2 (char *buf, int len, ano_socket_t s) |
| E int | sread (ano_socket_t s, char *buf, int len) |
| E int | sputs (char *str, ano_socket_t s) |
| E int | sockprintf (ano_socket_t s, char *fmt,...) |
| E int | conn (const char *host, int port, const char *lhost, int lport) |
| E void | disconn (ano_socket_t s) |
| E void | delete_user (User *user) |
| E void | get_user_stats (long *nusers, long *memuse) |
| E User * | finduser (const char *nick) |
| E User * | firstuser (void) |
| E User * | nextuser (void) |
| E User * | find_byuid (const char *uid) |
| E User * | first_uid (void) |
| E User * | next_uid (void) |
| E Uid * | new_uid (const char *nick, char *uid) |
| E Uid * | find_uid (const char *nick) |
| E Uid * | find_nickuid (const char *uid) |
| E Server * | findserver_uid (Server *s, const char *name) |
| E void | update_host (User *user) |
| E void | change_user_host (User *user, const char *host) |
| E void | change_user_username (User *user, const char *username) |
| E void | change_user_realname (User *user, const char *realname) |
| 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 | do_umode (const char *source, int ac, char **av) |
| E void | do_umode2 (const char *source, int ac, char **av) |
| E void | do_quit (const char *source, int ac, char **av) |
| E void | do_kill (char *source, char *reason) |
| E int | is_oper (User *user) |
| E int | is_protected (User *user) |
| E int | is_excepted (ChannelInfo *ci, User *user) |
| E int | is_excepted_mask (ChannelInfo *ci, char *mask) |
| E int | match_usermask (const char *mask, User *user) |
| E int | match_usermask_full (const char *mask, User *user, boolean full) |
| E int | match_userip (const char *mask, User *user, char *host) |
| E void | split_usermask (const char *mask, char **nick, char **user, char **host) |
| E char * | create_mask (User *u) |
| E void | privmsg (char *source, char *dest, const char *fmt,...) |
| E void | notice (char *source, char *dest, const char *fmt,...) |
| E int | anope_set_mod_current_buffer (int ac, char **av) |
| E void | anope_cmd_211 (const char *fmt,...) |
| E void | anope_cmd_219 (char *source, char *who) |
| E void | anope_cmd_242 (const char *fmt,...) |
| E void | anope_cmd_243 (const char *fmt,...) |
| E void | anope_cmd_250 (const char *fmt,...) |
| E void | anope_cmd_307 (const char *fmt,...) |
| E void | anope_cmd_311 (const char *fmt,...) |
| E void | anope_cmd_312 (const char *fmt,...) |
| E void | anope_cmd_317 (const char *fmt,...) |
| E void | anope_cmd_318 (char *source, char *who) |
| E void | anope_cmd_351 (char *source) |
| E void | anope_cmd_372 (char *source, char *msg) |
| E void | anope_cmd_372_error (char *source) |
| E void | anope_cmd_375 (char *source) |
| E void | anope_cmd_376 (char *source) |
| E void | anope_cmd_391 (char *source, char *timestr) |
| E void | anope_cmd_401 (char *source, char *who) |
| E void | anope_cmd_akill (char *user, char *host, char *who, time_t when, time_t expires, char *reason) |
| E void | anope_cmd_vhost_on (char *nick, char *vIdent, char *vhost) |
| E void | anope_cmd_vhost_off (User *u) |
| E void | anope_cmd_connect (int servernum) |
| E void | anope_cmd_bob () |
| E void | anope_cmd_global (char *source, const char *fmt,...) |
| E void | anope_cmd_invite (char *source, char *chan, char *nick) |
| E void | anope_cmd_join (char *user, char *channel, time_t chantime) |
| E void | anope_cmd_kick (char *source, char *chan, char *user, const char *fmt,...) |
| E void | anope_cmd_mode (char *source, char *dest, const char *fmt,...) |
| E void | anope_cmd_unban (char *name, char *nick) |
| E void | anope_cmd_bot_chan_mode (char *nick, char *chan) |
| E void | anope_cmd_nick (char *nick, char *name, char *mode) |
| E void | anope_cmd_chg_nick (char *oldnick, char *newnick) |
| E void | anope_cmd_bot_nick (char *nick, char *user, char *host, char *real, char *modes) |
| E void | anope_cmd_guest_nick (char *nick, char *user, char *host, char *real, char *modes) |
| E void | anope_cmd_notice (char *source, char *dest, const char *fmt,...) |
| E void | anope_cmd_notice_ops (char *source, char *dest, const char *fmt,...) |
| E void | anope_cmd_notice2 (char *source, char *dest, char *msg) |
| E void | anope_cmd_serv_notice (char *source, char *dest, char *msg) |
| E void | anope_cmd_part (char *nick, char *chan, const char *fmt,...) |
| E void | anope_cmd_pong (char *servname, char *who) |
| E void | anope_cmd_privmsg (char *source, char *dest, const char *fmt,...) |
| E void | anope_cmd_action (char *source, char *dest, const char *fmt,...) |
| E void | anope_cmd_privmsg2 (char *source, char *dest, char *msg) |
| E void | anope_cmd_serv_privmsg (char *source, char *dest, char *msg) |
| E void | anope_cmd_quit (char *source, const char *fmt,...) |
| E void | anope_cmd_remove_akill (char *user, char *host) |
| E void | anope_cmd_sgline (char *mask, char *reason) |
| E void | anope_cmd_sqline (char *mask, char *reason) |
| E void | anope_cmd_szline (char *mask, char *reason, char *whom) |
| E void | anope_cmd_squit (char *servname, char *message) |
| E void | anope_cmd_svshold (char *nick) |
| E void | anope_cmd_release_svshold (char *nick) |
| E void | anope_cmd_svsjoin (char *source, char *nick, char *chan, char *param) |
| E void | anope_cmd_svskill (char *source, char *user, const char *fmt,...) |
| E void | anope_cmd_svsmode (User *u, int ac, char **av) |
| E void | anope_cmd_svsmode_chan (char *name, char *mode, char *nick) |
| E void | anope_cmd_svsnick (char *nick, char *newnick, time_t when) |
| E void | anope_cmd_svsnoop (char *server, int set) |
| E void | anope_cmd_svso (char *source, char *nick, char *flag) |
| E void | anope_cmd_svspart (char *source, char *nick, char *chan) |
| E void | anope_cmd_swhois (char *source, char *who, char *mask) |
| E void | anope_cmd_topic (char *whosets, char *chan, char *whosetit, char *topic, time_t when) |
| E void | anope_cmd_unsgline (char *mask) |
| E void | anope_cmd_unsqline (char *user) |
| E void | anope_cmd_unszline (char *mask) |
| E void | anope_cmd_eob () |
| E void | anope_cmd_ctcp (char *source, char *dest, const char *fmt,...) |
| EI int | anope_event_482 (char *source, int ac, char **av) |
| EI int | anope_event_436 (char *source, int ac, char **av) |
| EI int | anope_event_away (char *source, int ac, char **av) |
| EI int | anope_event_ping (char *source, int ac, char **av) |
| EI int | anope_event_motd (char *source, int ac, char **av) |
| EI int | anope_event_join (char *source, int ac, char **av) |
| EI int | anope_event_kick (char *source, int ac, char **av) |
| EI int | anope_event_kill (char *source, int ac, char **av) |
| EI int | anope_event_mode (char *source, int ac, char **av) |
| EI int | anope_event_tmode (char *source, int ac, char **av) |
| EI int | anope_event_quit (char *source, int ac, char **av) |
| EI int | anope_event_squit (char *source, int ac, char **av) |
| EI int | anope_event_topic (char *source, int ac, char **av) |
| EI int | anope_event_whois (char *source, int ac, char **av) |
| EI int | anope_event_part (char *source, int ac, char **av) |
| EI int | anope_event_server (char *source, int ac, char **av) |
| EI int | anope_event_sid (char *source, int ac, char **av) |
| EI int | anope_event_nick (char *source, int ac, char **av) |
| EI int | anope_event_bmask (char *source, int ac, char **av) |
| EI int | anope_event_gnotice (char *source, int ac, char **av) |
| EI int | anope_event_privmsg (char *source, int ac, char **av) |
| EI int | anope_event_capab (char *source, int ac, char **av) |
| EI int | anope_event_sjoin (char *source, int ac, char **av) |
| EI int | anope_event_cs (char *source, int ac, char **av) |
| EI int | anope_event_hs (char *source, int ac, char **av) |
| EI int | anope_event_ms (char *source, int ac, char **av) |
| EI int | anope_event_ns (char *source, int ac, char **av) |
| EI int | anope_event_os (char *source, int ac, char **av) |
| EI int | anope_event_vs (char *source, int ac, char **av) |
| EI int | anope_event_svinfo (char *source, int ac, char **av) |
| EI int | anope_event_chghost (char *source, int ac, char **av) |
| EI int | anope_event_sethost (char *source, int ac, char **av) |
| EI int | anope_event_chgident (char *source, int ac, char **av) |
| EI int | anope_event_setident (char *source, int ac, char **av) |
| EI int | anope_event_chgname (char *source, int ac, char **av) |
| EI int | anope_event_setname (char *source, int ac, char **av) |
| EI int | anope_event_svsinfo (char *source, int ac, char **av) |
| EI int | anope_event_snick (char *source, int ac, char **av) |
| EI int | anope_event_vhost (char *source, int ac, char **av) |
| EI int | anope_event_tkl (char *source, int ac, char **av) |
| EI int | anope_event_eos (char *source, int ac, char **av) |
| EI int | anope_event_eob (char *source, int ac, char **av) |
| EI int | anope_event_pass (char *source, int ac, char **av) |
| EI int | anope_event_netinfo (char *source, int ac, char **av) |
| EI int | anope_event_error (char *source, int ac, char **av) |
| EI int | anope_event_netctrl (char *source, int ac, char **av) |
| EI int | anope_event_notice (char *source, int ac, char **av) |
| EI int | anope_event_snotice (char *source, int ac, char **av) |
| EI int | anope_event_sqline (char *source, int ac, char **av) |
| EI int | anope_event_smo (char *source, int ac, char **av) |
| EI int | anope_event_myid (char *source, int ac, char **av) |
| EI int | anope_event_vctrl (char *source, int ac, char **av) |
| EI int | anope_event_tctrl (char *source, int ac, char **av) |
| EI int | anope_event_snetinfo (char *source, int ac, char **av) |
| EI int | anope_event_umode2 (char *source, int ac, char **av) |
| EI int | anope_event_globops (char *source, int ac, char **av) |
| EI int | anope_event_swhois (char *source, int ac, char **av) |
| EI int | anope_event_burst (char *source, int ac, char **av) |
| EI int | anope_event_luserslock (char *source, int ac, char **av) |
| EI int | anope_event_admin (char *source, int ac, char **av) |
| EI int | anope_event_credits (char *source, int ac, char **av) |
| EI int | anope_event_rehash (char *source, int ac, char **av) |
| EI int | anope_event_sdesc (char *source, int ac, char **av) |
| EI int | anope_event_netglobal (char *source, int ac, char **av) |
| EI int | anope_event_invite (char *source, int ac, char **av) |
| E int | anope_event_null (char *source, int ac, char **av) |
| E void | anope_set_umode (User *user, int ac, char **av) |
| E void | anope_cmd_svid_umode (char *nick, time_t ts) |
| E void | anope_cmd_svid_umode2 (User *u, char *ts) |
| E void | anope_cmd_svid_umode3 (User *u, char *ts) |
| E void | anope_cmd_nc_change (User *u) |
| E int | anope_flood_mode_check (char *value) |
| E int | anope_jointhrottle_mode_check (char *value) |
| E void | anope_cmd_jupe (char *jserver, char *who, char *reason) |
| E void | anope_cmd_global_legacy (char *source, char *fmt) |
| E void | wallops (char *source, const char *fmt,...) |
| E int | anope_valid_nick (char *nick) |
| E int | anope_valid_chan (char *chan) |
| E char * | common_get_vident (User *u) |
| E char * | common_get_vhost (User *u) |
| E char * | send_token (char *token1, char *token2) |
| E char * | base64enc (long i) |
| E long | base64dec (char *b64) |
| E long | base64dects (char *ts) |
| E int | b64_encode (char *src, size_t srclength, char *target, size_t targsize) |
| E int | b64_decode (char *src, char *target, size_t targsize) |
| E char * | encode_ip (unsigned char *ip) |
| E int | decode_ip (char *buf) |
| E char * | host_resolve (char *host) |
| E void | event_message_process (char *eventbuf) |
| E void | eventprintf (char *fmt,...) |
| E void | event_process_hook (const char *name, int argc, char **argv) |
| E void | send_event (const char *name, int argc,...) |
Variables | |
| E char * | uplink |
| E IRCDVar * | ircd |
| E IRCDCAPAB * | ircdcap |
| E char * | flood_mode_char_set |
| E char * | flood_mode_char_remove |
| E int | UseTSMODE |
| EI unsigned long | umodes [128] |
| E char | csmodes [128] |
| E CMMode | cmmodes [128] |
| E CBMode | cbmodes [128] |
| E CBModeInfo * | cbmodeinfos |
| E CUMode | cumodes [128] |
| E char * | IRCDModule |
| E IRCDProto | ircdproto |
| E BotInfo * | botlists [256] |
| E int | nbots |
| E Channel * | chanlist [1024] |
| E ChannelInfo * | chanlists [256] |
| E CSModeUtil | csmodeutils [] |
| E LevelInfo | levelinfo [] |
| E int | levelinfo_maxwidth |
| E char * | RemoteServer |
| E int | RemotePort |
| E char * | RemotePassword |
| E char * | RemoteServer2 |
| E int | RemotePort2 |
| E char * | RemotePassword2 |
| E char * | RemoteServer3 |
| E int | RemotePort3 |
| E char * | RemotePassword3 |
| E char * | LocalHost |
| E int | LocalPort |
| E char * | ServerName |
| E char * | ServerDesc |
| E char * | ServiceUser |
| E char * | ServiceHost |
| E char * | HelpChannel |
| E char * | LogChannel |
| E char * | NetworkName |
| E int | NickLen |
| E char * | s_NickServ |
| E char * | s_ChanServ |
| E char * | s_MemoServ |
| E char * | s_BotServ |
| E char * | s_HelpServ |
| E char * | s_OperServ |
| E char * | s_GlobalNoticer |
| E char * | s_DevNull |
| E char * | desc_NickServ |
| E char * | desc_ChanServ |
| E char * | desc_MemoServ |
| E char * | desc_BotServ |
| E char * | desc_HelpServ |
| E char * | desc_OperServ |
| E char * | desc_GlobalNoticer |
| E char * | desc_DevNull |
| E char * | HostDBName |
| E char * | desc_HostServ |
| E char * | s_HostServ |
| E char * | s_NickServAlias |
| E char * | s_ChanServAlias |
| E char * | s_MemoServAlias |
| E char * | s_BotServAlias |
| E char * | s_HelpServAlias |
| E char * | s_OperServAlias |
| E char * | s_GlobalNoticerAlias |
| E char * | s_DevNullAlias |
| E char * | s_HostServAlias |
| E char * | desc_NickServAlias |
| E char * | desc_ChanServAlias |
| E char * | desc_MemoServAlias |
| E char * | desc_BotServAlias |
| E char * | desc_HelpServAlias |
| E char * | desc_OperServAlias |
| E char * | desc_GlobalNoticerAlias |
| E char * | desc_DevNullAlias |
| E char * | desc_HostServAlias |
| E char * | PIDFilename |
| E char * | MOTDFilename |
| E char * | NickDBName |
| E char * | PreNickDBName |
| E char * | ChanDBName |
| E char * | BotDBName |
| E char * | OperDBName |
| E char * | AutokillDBName |
| E char * | NewsDBName |
| E int | NoBackupOkay |
| E int | StrictPasswords |
| E int | BadPassLimit |
| E int | BadPassTimeout |
| E int | UpdateTimeout |
| E int | ExpireTimeout |
| E int | ReadTimeout |
| E int | WarningTimeout |
| E int | TimeoutCheck |
| E int | KeepLogs |
| E int | KeepBackups |
| E int | ForceForbidReason |
| E int | UsePrivmsg |
| E int | UseStrictPrivMsg |
| E int | DumpCore |
| E int | LogUsers |
| E int | NickRegDelay |
| E int | UseSVSHOLD |
| E int | UseSVS2MODE |
| E int | RestrictOperNicks |
| E int | UseTokens |
| E int | NewsCount |
| E char * | Numeric |
| E int | UnRestrictSAdmin |
| E int | UseTS6 |
| E char ** | HostSetters |
| E int | HostNumber |
| E int | UseMail |
| E char * | SendMailPath |
| E char * | SendFrom |
| E int | RestrictMail |
| E int | MailDelay |
| E int | DontQuoteAddresses |
| E int | ForkForMail |
| E int | NSDefFlags |
| E int | NSDefLanguage |
| E int | NSRegDelay |
| E int | NSResendDelay |
| E int | NSExpire |
| E int | NSRExpire |
| E int | NSForceEmail |
| E int | NSMaxAliases |
| E int | NSAccessMax |
| E char * | NSEnforcerUser |
| E char * | NSEnforcerHost |
| E int | NSReleaseTimeout |
| E int | NSAllowKillImmed |
| E int | NSNoGroupChange |
| E int | NSListOpersOnly |
| E int | NSListMax |
| E char * | NSGuestNickPrefix |
| E int | NSSecureAdmins |
| E int | NSStrictPrivileges |
| E int | NSEmailReg |
| E int | NSModeOnID |
| E int | NSRestrictGetPass |
| E int | NSNickTracking |
| E int | NSAddAccessOnReg |
| E int | CSDefFlags |
| E int | CSMaxReg |
| E int | CSExpire |
| E int | CSDefBantype |
| E int | CSAccessMax |
| E int | CSAutokickMax |
| E char * | CSAutokickReason |
| E int | CSInhabit |
| E int | CSListOpersOnly |
| E int | CSListMax |
| E int | CSRestrictGetPass |
| E int | CSOpersOnly |
| E int | MSMaxMemos |
| E int | MSSendDelay |
| E int | MSNotifyAll |
| E int | MSMemoReceipt |
| E int | BSDefFlags |
| E int | BSKeepData |
| E int | BSMinUsers |
| E int | BSBadWordsMax |
| E int | BSSmartJoin |
| E int | BSGentleBWReason |
| E int | BSCaseSensitive |
| E char * | BSFantasyCharacter |
| E int | HideStatsO |
| E int | GlobalOnCycle |
| E int | AnonymousGlobal |
| E char * | GlobalOnCycleMessage |
| E char * | GlobalOnCycleUP |
| E char ** | ServicesRoots |
| E int | RootNumber |
| E int | LogMaxUsers |
| E int | SuperAdmin |
| E int | LogBot |
| E int | AutokillExpiry |
| E int | ChankillExpiry |
| E int | SGLineExpiry |
| E int | SQLineExpiry |
| E int | SZLineExpiry |
| E int | AkillOnAdd |
| E int | KillonSGline |
| E int | KillonSQline |
| E int | DisableRaw |
| E int | WallOper |
| E int | WallBadOS |
| E int | WallOSGlobal |
| E int | WallOSMode |
| E int | WallOSClearmodes |
| E int | WallOSKick |
| E int | WallOSAkill |
| E int | WallOSSGLine |
| E int | WallOSSQLine |
| E int | WallOSSZLine |
| E int | WallOSNoOp |
| E int | WallOSJupe |
| E int | WallOSRaw |
| E int | WallAkillExpire |
| E int | WallSGLineExpire |
| E int | WallSQLineExpire |
| E int | WallSZLineExpire |
| E int | WallExceptionExpire |
| E int | WallDrop |
| E int | WallForbid |
| E int | WallGetpass |
| E int | WallSetpass |
| E int | AddAkiller |
| E char ** | ModulesAutoload |
| E int | ModulesNumber |
| E char ** | ModulesDelayedAutoload |
| E int | ModulesDelayedNumber |
| E char ** | HostServCoreModules |
| E int | HostServCoreNumber |
| E char ** | HelpServCoreModules |
| E int | HelpServCoreNumber |
| E char ** | MemoServCoreModules |
| E int | MemoServCoreNumber |
| E char ** | BotServCoreModules |
| E int | BotServCoreNumber |
| E char ** | OperServCoreModules |
| E int | OperServCoreNumber |
| E char ** | NickServCoreModules |
| E int | NickServCoreNumber |
| E char ** | ChanServCoreModules |
| E int | ChanServCoreNumber |
| E int | LimitSessions |
| E int | DefSessionLimit |
| E int | ExceptionExpiry |
| E int | MaxSessionKill |
| E int | MaxSessionLimit |
| E int | SessionAutoKillExpiry |
| E char * | ExceptionDBName |
| E char * | SessionLimitDetailsLoc |
| E char * | SessionLimitExceeded |
| E char * | UlineServers |
| E char ** | Ulines |
| E int | NumUlines |
| E int | DefConLevel |
| E int | DefCon [6] |
| E int | DefConSessionLimit |
| E char * | DefConTimeOut |
| E char * | DefConAKILL |
| E char * | DefConChanModes |
| E int | GlobalOnDefcon |
| E int | GlobalOnDefconMore |
| E char * | DefconMessage |
| E char * | DefConAkillReason |
| E char * | DefConOffMessage |
| E long unsigned int | UserKey1 |
| E long unsigned int | UserKey2 |
| E long unsigned int | UserKey3 |
| E char * | EncModule |
| E int | servernum |
| E char ** | langtexts [NUM_LANGS] |
| E char * | langnames [NUM_LANGS] |
| E int | langlist [NUM_LANGS] |
| E const char | version_number [] |
| E const char | version_number_dotted [] |
| E const char | version_build [] |
| E char * | version_protocol |
| E const char | version_flags [] |
| E char * | services_dir |
| E char * | log_filename |
| E int | debug |
| E int | readonly |
| E int | logchan |
| E int | skeleton |
| E int | nofork |
| E int | forceload |
| E int | nothird |
| E int | noexpire |
| E int | protocoldebug |
| E int | is44 |
| E int | quitting |
| E int | delayed_quit |
| E char * | quitmsg |
| E char | inbuf [BUFSIZE] |
| E int | servsock |
| E int | save_data |
| E int | got_alarm |
| E time_t | start_time |
| E int32 | nnews |
| E int32 | news_size |
| E NewsItem * | news |
| E NickAlias * | nalists [1024] |
| E NickCore * | nclists [1024] |
| E NickRequest * | nrlists [1024] |
| E unsigned int | guestnum |
| E SList | akills |
| E SList | sglines |
| E SList | sqlines |
| E SList | szlines |
| E SList | servadmins |
| E SList | servopers |
| E int | DefConModesSet |
| E uint32 | DefConModesOn |
| E uint32 | DefConModesOff |
| E ChannelInfo | DefConModesCI |
| E int | OSOpersOnly |
| E time_t | DefContimer |
| E int | allow_ignore |
| E IgnoreData * | ignore |
| E Server * | servlist |
| E Server * | me_server |
| E Server * | serv_uplink |
| E uint32 | uplink_capab |
| E CapabInfo | capab_info [] |
| E Exception * | exceptions |
| E int16 | nexceptions |
| E Session * | sessionlist [1024] |
| E int32 | nsessions |
| E int32 | total_read |
| E int32 | total_written |
| E User * | userlist [1024] |
| E int32 | usercnt |
| E int32 | opcnt |
| E uint32 | maxusercnt |
| E time_t | maxusertime |
| E char * | TS6SID |
| E char * | TS6UPLINK |
| #define Anope_Free | ( | x | ) | if ((x) != NULL) free(x) |
Definition at line 1391 of file extern.h.
Referenced by anope_event_server(), base64dects(), botchanmsgs(), delete_user(), do_fantasy(), do_nick(), and services_shutdown().
| #define getstring | ( | na, | ||
| index | ||||
| ) | (langtexts[((na)&&((NickAlias*)na)->nc&&!(((NickAlias*)na)->status & NS_VERBOTEN)?((NickAlias*)na)->nc->language:NSDefLanguage)][(index)]) |
Definition at line 731 of file extern.h.
Referenced by akick_list(), akick_view(), bot_kick(), check_kick(), do_defcon(), do_enforce_cmode_R(), do_enforce_restricted(), do_fantasy(), do_help(), do_info(), do_sendpass(), duration(), expire_left(), listchans(), listnicks(), m_privmsg(), notice_help(), notice_lang(), resetDefCon(), rsend_notify(), show_list(), and syntax_error().
| #define getstring2 | ( | nc, | ||
| index | ||||
| ) | (langtexts[((nc)?((NickCore*)nc)->language:NSDefLanguage)][(index)]) |
Definition at line 733 of file extern.h.
Referenced by bot_raw_ban(), bot_raw_kick(), bot_raw_mode(), do_defcon(), do_saset_language(), do_sendpass(), do_sendregmail(), do_set(), do_set_language(), MailMemoBegin(), new_memo_mail(), and resetDefCon().
| #define whosends | ( | ci | ) | ((!(ci) || !((ci)->botflags & BS_SYMBIOSIS) || !(ci)->bi || !(ci)->c || (ci)->c->usercount < BSMinUsers) ? s_ChanServ : (ci)->bi->nick) |
Definition at line 163 of file extern.h.
Referenced by _common_unban(), addBan(), bot_join(), chan_adduser2(), chan_set_correct_modes(), chan_set_modes(), check_kick(), check_modes(), check_should_halfop(), check_should_op(), check_should_owner(), check_should_protect(), check_should_voice(), check_topiclock(), check_valid_admin(), check_valid_op(), cs_remove_nick(), delBan(), do_ban(), do_clear(), do_cs_kick(), do_cs_topic(), do_deowner(), do_drop(), do_enforce_cmode_R(), do_enforce_restricted(), do_forbid(), do_invite(), do_owner(), do_sjoin(), do_util(), join_user_update(), my_cs_appendtopic(), plexus_check_valid_halfop(), plexus_check_valid_op(), restore_topic(), stick_all(), and stick_mask().
| typedef int(* range_callback_t)(User *u, int num, va_list args) |
| E int add_akill | ( | User * | u, | |
| char * | mask, | |||
| const char * | by, | |||
| const time_t | expires, | |||
| const char * | reason | |||
| ) |
Definition at line 722 of file operserv.c.
References AkillOnAdd, anope_cmd_akill(), akill_::by, slist_::count, akill_::expires, akill_::host, slist_::limit, slist_::list, match_wild_nocase(), notice_lang(), akill_::reason, s_OperServ, scalloc(), akill_::seton, slist_add(), slist_delete(), slist_full(), snprintf(), sstrdup(), stricmp(), and akill_::user.
Referenced by add_session(), do_akill(), do_chankill(), and do_nick().
| E void add_ban | ( | Channel * | chan, | |
| char * | mask | |||
| ) |
Definition at line 1336 of file channels.c.
References alog(), anope_cmd_mode(), channel_::bans, chaninfo_::bi, BSMinUsers, BSSmartJoin, channel_::ci, debug, entry_add(), entry_delete(), entry_match(), fatal(), botinfo_::host, list_create(), channel_::name, botinfo_::nick, s_BotServ, botinfo_::user, and channel_::usercount.
Referenced by anope_event_bmask(), anope_event_capab(), and do_sjoin().
| E void add_entropy_userkeys | ( | void | ) |
Setup the random numbers
Definition at line 1028 of file misc.c.
References arc4_addrandom(), UserKey1, UserKey2, and UserKey3.
Referenced by init_secondary().
| E void add_exception | ( | Channel * | chan, | |
| char * | mask | |||
| ) |
Definition at line 1375 of file channels.c.
References alog(), debug, entry_add(), channel_::excepts, fatal(), list_create(), and channel_::name.
Referenced by anope_event_bmask(), anope_event_capab(), and do_sjoin().
| E void add_ignore | ( | const char * | nick, | |
| time_t | delta | |||
| ) |
Add a mask/nick to the ignorelits for delta seconds.
| nick | Nick or (nick!)user to add to the ignorelist. | |
| delta | Seconds untill new entry is set to expire. 0 for permanent. |
Definition at line 33 of file process.c.
References alog(), debug, finduser(), user_::host, ignore_data::mask, ignore_data::next, ignore_data::prev, scalloc(), snprintf(), sstrdup(), stricmp(), and ignore_data::time.
Referenced by do_ignoreuser(), and m_privmsg().
| E void add_invite | ( | Channel * | chan, | |
| char * | mask | |||
| ) |
Definition at line 1400 of file channels.c.
References alog(), debug, entry_add(), fatal(), channel_::invites, list_create(), and channel_::name.
Referenced by anope_event_bmask(), anope_event_capab(), and do_sjoin().
| E int add_session | ( | char * | nick, | |
| char * | host, | |||
| char * | hostip | |||
| ) |
Definition at line 205 of file sessions.c.
References add_akill(), anope_cmd_global(), checkDefCon(), session_::count, DEFCON_REDUCE_SESSION, DefConSessionLimit, DefSessionLimit, find_hostip_exception(), findsession(), HASH, session_::hits, session_::host, kill_user(), exception_::limit, MaxSessionKill, session_::next, notice(), nsessions, session_::prev, s_OperServ, scalloc(), SessionAutoKillExpiry, SessionLimitDetailsLoc, SessionLimitExceeded, snprintf(), and sstrdup().
Referenced by do_nick().
| E int add_sgline | ( | User * | u, | |
| char * | mask, | |||
| const char * | by, | |||
| const time_t | expires, | |||
| const char * | reason | |||
| ) |
Definition at line 973 of file operserv.c.
References anope_cmd_sgline(), BUFSIZE, sxline_::by, slist_::count, sxline_::expires, firstuser(), ircd, is_oper(), kill_user(), KillonSGline, slist_::limit, slist_::list, sxline_::mask, match_wild_nocase(), nextuser(), user_::nick, notice_lang(), user_::realname, sxline_::reason, s_OperServ, scalloc(), ServerName, sxline_::seton, ircdvars_::sglineenforce, slist_add(), slist_delete(), slist_full(), snprintf(), sstrdup(), and stricmp().
Referenced by do_sgline().
| E int add_sqline | ( | User * | u, | |
| char * | mask, | |||
| const char * | by, | |||
| const time_t | expires, | |||
| const char * | reason | |||
| ) |
Definition at line 1159 of file operserv.c.
References BUFSIZE, sxline_::by, slist_::count, sxline_::expires, firstuser(), is_oper(), kill_user(), KillonSQline, slist_::limit, slist_::list, sxline_::mask, match_wild_nocase(), nextuser(), user_::nick, notice_lang(), sxline_::reason, s_OperServ, scalloc(), ServerName, sxline_::seton, slist_add(), slist_delete(), slist_full(), snprintf(), sqline(), sstrdup(), and stricmp().
Referenced by do_sqline().
| E int add_szline | ( | User * | u, | |
| char * | mask, | |||
| const char * | by, | |||
| const time_t | expires, | |||
| const char * | reason | |||
| ) |
Definition at line 1380 of file operserv.c.
References anope_cmd_szline(), sxline_::by, slist_::count, sxline_::expires, slist_::limit, slist_::list, sxline_::mask, match_wild_nocase(), notice_lang(), sxline_::reason, s_OperServ, scalloc(), sxline_::seton, slist_add(), slist_delete(), slist_full(), sstrdup(), and stricmp().
Referenced by do_szline().
| E void addHostCore | ( | char * | nick, | |
| char * | vIdent, | |||
| char * | vhost, | |||
| char * | creator, | |||
| int32 | tmp_time | |||
| ) |
Definition at line 291 of file hostserv.c.
References addHostCore(), createHostCorelist(), deleteHostCore(), findHostCore(), and insertHostCore().
Referenced by addHostCore(), db_mysql_load_hs_dbase(), do_hs_sync(), hs_do_activate(), load_hs_dbase_v1(), load_hs_dbase_v2(), load_hs_dbase_v3(), and myDoSet().
| E void alog | ( | const char * | fmt, | |
| ... | ||||
| ) |
Referenced by add_ban(), add_exception(), add_ignore(), add_invite(), add_ns_timeout(), addCommand(), addEventHandler(), addEventHook(), addMessage(), alpha_insert_alias(), alpha_insert_chan(), anope_event_capab(), anope_event_chghost(), anope_event_chgident(), anope_event_chgname(), anope_event_encap(), anope_event_error(), anope_event_fjoin(), anope_event_fmode(), anope_event_metadata(), anope_event_newmask(), anope_event_sethost(), anope_event_setident(), anope_event_setname(), anope_event_tburst(), anope_event_topic(), anope_event_uid(), anope_event_vhost(), anope_event_vs(), AnopeFini(), AnopeInit(), backup_databases(), backup_ignoredb(), bahamut_cmd_chghost(), bahamut_set_umode(), buffered_read(), buffered_read_one(), buffered_write(), chan_create(), chan_delete(), chan_has_user_status(), chan_remove_user_status(), chan_set_correct_modes(), chan_set_key(), chan_set_modes(), chan_set_throttle(), chan_set_user_status(), change_core_display(), change_user_host(), change_user_realname(), change_user_username(), charybdis_set_umode(), check_kick(), check_memos(), check_modes(), check_timeouts(), check_topiclock(), clean_ns_timeouts(), clear_ignores(), conn(), cs_findchan(), cs_remove_nick(), db_mysql_init(), db_mysql_load_cs_dbase(), db_mysql_query(), defconParseModeString(), del_ban(), del_exception(), del_invite(), del_session(), delchan(), delcore(), delete_ignore(), delete_server(), delete_user(), delHostCore(), delnick(), display_news(), displayCommand(), displayCommandFromHash(), displayEventHook(), displayEventMessage(), displayEvtMessageFromHash(), displayHookFromHash(), displayMessage(), displayMessageFromHash(), do_access(), do_akick(), do_assign(), do_backtrace(), do_badwords(), do_bot(), do_clear(), do_clearmodes(), do_cmode(), do_confirm(), do_cs_topic(), do_defcon(), do_del(), do_delall(), do_drop(), do_enforce_cmode_R(), do_enforce_restricted(), do_enforce_secureops(), do_forbid(), do_getemail(), do_getkey(), do_getpass(), do_ghost(), do_group(), do_identify(), do_join(), do_kick(), do_kickcmd(), do_kill(), do_levels(), do_logout(), do_news(), do_nick(), do_part(), do_quit(), do_raw(), do_recover(), do_register(), do_release(), do_resend(), do_rsend(), do_run_cmd(), do_saset_autoop(), do_saset_display(), do_saset_email(), do_saset_greet(), do_saset_hide(), do_saset_icq(), do_saset_kill(), do_saset_language(), do_saset_msg(), do_saset_noexpire(), do_saset_password(), do_saset_private(), do_saset_secure(), do_saset_url(), do_sendall(), do_sendpass(), do_server(), do_set(), do_set_autoop(), do_set_bantype(), do_set_desc(), do_set_display(), do_set_email(), do_set_entrymsg(), do_set_founder(), do_set_greet(), do_set_hide(), do_set_icq(), do_set_keeptopic(), do_set_kill(), do_set_language(), do_set_limit(), do_set_mlock(), do_set_msg(), do_set_noexpire(), do_set_notify(), do_set_opnotice(), do_set_password(), do_set_peace(), do_set_private(), do_set_restricted(), do_set_secure(), do_set_securefounder(), do_set_secureops(), do_set_signkick(), do_set_successor(), do_set_topiclock(), do_set_url(), do_set_xop(), do_setall(), do_sjoin(), do_squit(), do_suspend(), do_topic(), do_umode(), do_umode2(), do_unassign(), do_unsuspend(), do_xop(), dreamforge_set_umode(), encryption_module_init(), EnforceQlinedNick(), error(), expire_all(), expire_chans(), expire_nicks(), expire_requests(), find_byuid(), findchan(), findcore(), findnick(), findrequestnick(), findserver(), findserver_uid(), finduser(), finish_sync(), first_uid(), firstchan(), firstuser(), flush_write_buffer(), get_file_version(), get_ignore(), handleModuleOperationQueue(), host_resolve(), hs_do_activate(), hs_do_reject(), hs_do_request(), hsreq_load_db(), hsreq_save_db(), hybrid_set_umode(), init_secondary(), insert_core(), insert_requestnick(), inspircd_cmd_nc_change(), inspircd_cmd_svid_umode(), inspircd_cmd_svid_umode2(), inspircd_set_umode(), join_user_update(), load_config(), load_cs_dbase(), load_ignore_db(), load_lang(), load_ns_dbase(), load_old_ns_dbase(), loadModule(), m_privmsg(), main(), makebot(), makenick(), makerequest(), md5_encrypt(), mEventReload(), mLoadConfig(), mLoadData(), moduleAddCallback(), moduleAddCommand(), moduleAddData(), moduleCallBackPrepForUnload(), moduleCallBackRun(), moduleCopyFile(), ModuleDatabaseBackup(), moduleDataDebug(), moduleDelAllData(), moduleDelCallback(), moduleDelData(), moduleGetConfigDirective(), moduleGetData(), moduleGetLangString(), moduleInsertLanguage(), moduleNoticeLang(), ModuleRunTimeDirCleanUp(), modules_core_init(), modules_delayed_init(), modules_init(), modules_unload_all(), mSaveData(), my_cs_appendtopic(), my_event_addcommand(), my_load_config(), my_memo_lang(), my_nick(), my_save(), myDoSet(), new_open_db_read(), new_open_db_write(), new_server(), new_user(), new_write_db_endofblock(), new_write_db_entry(), next_uid(), nextchan(), nextuser(), old_encrypt(), open_db_write(), operserv(), plexus_set_umode(), process(), protocol_debug(), protocol_module_init(), ptlink_set_umode(), rageircd_set_umode(), ratbox_set_umode(), rdb_direct_query(), rdb_load_dbases(), read_config(), rename_database(), reset_levels(), resetDefCon(), runDefCon(), save_bs_rdb_dbase(), save_cs_rdb_dbase(), save_databases(), save_hs_rdb_dbase(), save_ignore_db(), save_ns_rdb_dbase(), save_ns_req_rdb_dbase(), save_os_rdb_dbase(), save_rdb_exceptions(), save_rdb_news(), send_event(), services_restart(), services_shutdown(), set_flood(), set_group(), set_limit(), set_redirect(), sha1_encrypt(), shadowircd_set_umode(), sighandler(), slist_enum(), smtp_send(), smtp_send_email(), solidircd_set_umode(), sstrdup(), test(), ts6_uid_init(), ultiamte2_set_umode(), ultimate3_set_umode(), unloadModule(), unreal_set_umode(), update_host(), viagra_set_umode(), and vsend_cmd().
| E void alpha_insert_alias | ( | NickAlias * | na | ) |
Definition at line 1332 of file nickserv.c.
References alog(), debug, HASH, nickalias_::next, nickalias_::nick, nickalias_::prev, and stricmp().
Referenced by db_mysql_load_ns_dbase(), load_old_ns_dbase(), makealias(), and makenick().
| void alpha_insert_chan | ( | ChannelInfo * | ci | ) |
Definition at line 2010 of file db-merger.c.
References alog(), debug, mystricmp(), chaninfo_::name, chaninfo_::next, chaninfo_::prev, stricmp(), and tolower.
Referenced by db_mysql_load_cs_dbase(), main(), and makechan().
| E int anope_check_sync | ( | const char * | name | ) |
Find if the server is synced with the network
| s | Server struct | |
| name | Server Name |
Definition at line 335 of file servers.c.
References findserver(), and is_sync().
| E void anope_cmd_211 | ( | const char * | fmt, | |
| ... | ||||
| ) |
Definition at line 493 of file ircd.c.
References BUFSIZE, ircd_proto_::ircd_cmd_211, and vsnprintf().
Referenced by m_stats().
| E void anope_cmd_219 | ( | char * | source, | |
| char * | who | |||
| ) |
Definition at line 452 of file ircd.c.
References ircd_proto_::ircd_cmd_219.
Referenced by m_stats().
| E void anope_cmd_242 | ( | const char * | fmt, | |
| ... | ||||
| ) |
Definition at line 467 of file ircd.c.
References BUFSIZE, ircd_proto_::ircd_cmd_242, and vsnprintf().
Referenced by m_stats().
| E void anope_cmd_243 | ( | const char * | fmt, | |
| ... | ||||
| ) |
Definition at line 480 of file ircd.c.
References BUFSIZE, ircd_proto_::ircd_cmd_243, and vsnprintf().
Referenced by m_stats().
| E void anope_cmd_250 | ( | const char * | fmt, | |
| ... | ||||
| ) |
Definition at line 387 of file ircd.c.
References BUFSIZE, ircd_proto_::ircd_cmd_250, and vsnprintf().
Referenced by m_stats().
| E void anope_cmd_307 | ( | const char * | fmt, | |
| ... | ||||
| ) |
Definition at line 400 of file ircd.c.
References BUFSIZE, ircd_proto_::ircd_cmd_307, and vsnprintf().
Referenced by m_whois().
| E void anope_cmd_311 | ( | const char * | fmt, | |
| ... | ||||
| ) |
Definition at line 413 of file ircd.c.
References BUFSIZE, ircd_proto_::ircd_cmd_311, and vsnprintf().
Referenced by m_whois().
| E void anope_cmd_312 | ( | const char * | fmt, | |
| ... | ||||
| ) |
Definition at line 426 of file ircd.c.
References BUFSIZE, ircd_proto_::ircd_cmd_312, and vsnprintf().
Referenced by m_whois().
| E void anope_cmd_317 | ( | const char * | fmt, | |
| ... | ||||
| ) |
Definition at line 439 of file ircd.c.
References BUFSIZE, ircd_proto_::ircd_cmd_317, and vsnprintf().
Referenced by m_whois().
| E void anope_cmd_318 | ( | char * | source, | |
| char * | who | |||
| ) |
Definition at line 462 of file ircd.c.
References ircd_proto_::ircd_cmd_318.
Referenced by m_whois().
| E void anope_cmd_351 | ( | char * | source | ) |
Definition at line 329 of file ircd.c.
References ircd_proto_::ircd_cmd_351.
Referenced by m_version().
| E void anope_cmd_372 | ( | char * | source, | |
| char * | msg | |||
| ) |
Definition at line 180 of file ircd.c.
References ircd_proto_::ircd_cmd_372.
Referenced by m_motd().
| E void anope_cmd_372_error | ( | char * | source | ) |
Definition at line 185 of file ircd.c.
References ircd_proto_::ircd_cmd_372_error.
Referenced by m_motd().
| E void anope_cmd_375 | ( | char * | source | ) |
Definition at line 190 of file ircd.c.
References ircd_proto_::ircd_cmd_375.
Referenced by m_motd().
| E void anope_cmd_376 | ( | char * | source | ) |
Definition at line 195 of file ircd.c.
References ircd_proto_::ircd_cmd_376.
Referenced by m_motd().
| E void anope_cmd_391 | ( | char * | source, | |
| char * | timestr | |||
| ) |
Definition at line 382 of file ircd.c.
References ircd_proto_::ircd_cmd_391.
Referenced by m_time().
| E void anope_cmd_401 | ( | char * | source, | |
| char * | who | |||
| ) |
Definition at line 457 of file ircd.c.
References ircd_proto_::ircd_cmd_401.
Referenced by m_whois().
| E void anope_cmd_action | ( | char * | source, | |
| char * | dest, | |||
| const char * | fmt, | |||
| ... | ||||
| ) |
Definition at line 275 of file ircd.c.
References BUFSIZE, ircd_proto_::ircd_cmd_privmsg, snprintf(), and vsnprintf().
Referenced by do_act().
| E void anope_cmd_akill | ( | char * | user, | |
| char * | host, | |||
| char * | who, | |||
| time_t | when, | |||
| time_t | expires, | |||
| char * | reason | |||
| ) |
Definition at line 156 of file ircd.c.
References ircd_proto_::ircd_cmd_akill.
Referenced by add_akill(), and check_akill().
| E void anope_cmd_bob | ( | ) |
Definition at line 559 of file ircd.c.
References ircd_proto_::ircd_cmd_bob.
Referenced by init_tertiary().
| E void anope_cmd_bot_chan_mode | ( | char * | nick, | |
| char * | chan | |||
| ) |
Definition at line 324 of file ircd.c.
References ircd_proto_::ircd_cmd_bot_chan_mode.
Referenced by bot_join().
| E void anope_cmd_bot_nick | ( | char * | nick, | |
| char * | user, | |||
| char * | host, | |||
| char * | real, | |||
| char * | modes | |||
| ) |
Definition at line 224 of file ircd.c.
References ircd_proto_::ircd_cmd_bot_nick.
Referenced by addClient(), do_bot(), and introduce_user().
| E void anope_cmd_chg_nick | ( | char * | oldnick, | |
| char * | newnick | |||
| ) |
Definition at line 539 of file ircd.c.
References ircd_proto_::ircd_cmd_chg_nick.
Referenced by do_bot().
| E void anope_cmd_connect | ( | int | servernum | ) |
Definition at line 554 of file ircd.c.
References ircd_proto_::ircd_cmd_connect.
Referenced by init_secondary().
| E void anope_cmd_ctcp | ( | char * | source, | |
| char * | dest, | |||
| const char * | fmt, | |||
| ... | ||||
| ) |
Definition at line 672 of file ircd.c.
References BUFSIZE, ircd_proto_::ircd_cmd_ctcp, and vsnprintf().
Referenced by botchanmsgs(), botmsgs(), botserv(), chanserv(), helpserv(), hostserv(), memoserv(), nickserv(), and operserv().
| E void anope_cmd_eob | ( | ) |
Definition at line 639 of file ircd.c.
References ircd_proto_::ircd_cmd_eob.
Referenced by init_tertiary().
| E void anope_cmd_global | ( | char * | source, | |
| const char * | fmt, | |||
| ... | ||||
| ) |
Definition at line 506 of file ircd.c.
References BUFSIZE, ircd_proto_::ircd_cmd_global, and vsnprintf().
Referenced by add_session(), anope_event_capab(), bahamut_set_umode(), charybdis_set_umode(), check_modes(), createHostCorelist(), del_session(), do_akill(), do_chankill(), do_clearmodes(), do_defcon(), do_drop(), do_forbid(), do_getpass(), do_global(), do_jupe(), do_noop(), do_operoline(), do_operumodes(), do_os_kick(), do_os_mode(), do_raw(), do_saset_password(), do_set(), do_set_password(), do_sgline(), do_sqline(), do_squit(), do_suspend(), do_svsnick(), do_szline(), do_unsuspend(), dreamforge_set_umode(), expire_akills(), expire_exceptions(), expire_sglines(), expire_sqlines(), expire_szlines(), fatal(), fatal_perror(), fatal_sockerror(), hybrid_set_umode(), init_secondary(), insertHostCore(), inspircd_cmd_chghost(), inspircd_cmd_chgident(), inspircd_set_umode(), loadModule(), m_privmsg(), main(), mSaveData(), open_db_read(), open_db_write(), plexus_set_umode(), ptlink_set_umode(), rageircd_set_umode(), ratbox_set_umode(), rename_database(), resetDefCon(), shadowircd_set_umode(), solidircd_set_umode(), ultiamte2_set_umode(), ultimate3_set_umode(), unloadModule(), unreal_set_umode(), and viagra_set_umode().
| E void anope_cmd_global_legacy | ( | char * | source, | |
| char * | fmt | |||
| ) |
Definition at line 519 of file ircd.c.
References ircd_proto_::ircd_cmd_global_legacy.
Referenced by wallops().
| E void anope_cmd_guest_nick | ( | char * | nick, | |
| char * | user, | |||
| char * | host, | |||
| char * | real, | |||
| char * | modes | |||
| ) |
Definition at line 205 of file ircd.c.
References ircd_proto_::ircd_cmd_guest_nick.
Referenced by cancel_user().
| E void anope_cmd_invite | ( | char * | source, | |
| char * | chan, | |||
| char * | nick | |||
| ) |
Definition at line 362 of file ircd.c.
References ircd_proto_::ircd_cmd_invite.
Referenced by do_invite().
| E void anope_cmd_join | ( | char * | user, | |
| char * | channel, | |||
| time_t | chantime | |||
| ) |
Definition at line 352 of file ircd.c.
References ircd_proto_::ircd_cmd_join.
Referenced by bot_join(), check_kick(), check_topiclock(), do_cs_topic(), do_set(), init_tertiary(), my_cs_appendtopic(), and restore_topic().
| E void anope_cmd_jupe | ( | char * | jserver, | |
| char * | who, | |||
| char * | reason | |||
| ) |
Definition at line 656 of file ircd.c.
References ircd_proto_::ircd_cmd_jupe.
Referenced by do_jupe().
| E void anope_cmd_kick | ( | char * | source, | |
| char * | chan, | |||
| char * | user, | |||
| const char * | fmt, | |||
| ... | ||||
| ) |
Definition at line 230 of file ircd.c.
References BUFSIZE, ircd_proto_::ircd_cmd_kick, and vsnprintf().
Referenced by bot_kick(), bot_raw_ban(), bot_raw_kick(), check_kick(), do_ban(), do_clear(), do_cs_kick(), do_enforce_cmode_R(), do_enforce_restricted(), do_forbid(), do_os_kick(), do_sjoin(), do_suspend(), and sqline().
| E void anope_cmd_mode | ( | char * | source, | |
| char * | dest, | |||
| const char * | fmt, | |||
| ... | ||||
| ) |
Definition at line 211 of file ircd.c.
References BUFSIZE, ircd_proto_::ircd_cmd_mode, and vsnprintf().
Referenced by _common_unban(), add_ban(), addBan(), bahamut_cmd_bot_chan_mode(), bot_join(), bot_raw_ban(), bot_raw_mode(), chan_set_correct_modes(), chan_set_modes(), charybdis_cmd_bot_chan_mode(), check_ban(), check_kick(), check_modes(), check_should_halfop(), check_should_op(), check_should_owner(), check_should_protect(), check_should_voice(), check_topiclock(), check_valid_admin(), check_valid_op(), cs_remove_nick(), delBan(), do_ban(), do_clear(), do_clearmodes(), do_cs_topic(), do_deowner(), do_drop(), do_enforce_cmode_R(), do_enforce_restricted(), do_forbid(), do_mass_mode(), do_os_mode(), do_owner(), do_register(), do_sjoin(), do_util(), dreamforge_cmd_bot_chan_mode(), dreamforge_cmd_bot_nick(), dreamforge_cmd_guest_nick(), dreamforge_cmd_nick(), hybrid_cmd_bot_chan_mode(), inspircd_cmd_bot_chan_mode(), join_user_update(), my_cs_appendtopic(), plexus_check_valid_halfop(), plexus_check_valid_op(), plexus_cmd_bot_chan_mode(), ptlink_cmd_bot_chan_mode(), rageircd_cmd_bot_chan_mode(), ratbox_cmd_bot_chan_mode(), restore_topic(), shadowircd_cmd_bot_chan_mode(), solidircd_cmd_bot_chan_mode(), stick_all(), stick_mask(), ultimate2_cmd_bot_chan_mode(), ultimate2_cmd_bot_nick(), ultimate2_cmd_guest_nick(), ultimate2_cmd_nick(), ultimate3_cmd_bot_chan_mode(), unreal_cmd_bot_chan_mode(), and viagra_cmd_bot_chan_mode().
| E void anope_cmd_nc_change | ( | User * | u | ) |
Definition at line 609 of file ircd.c.
References ircd_proto_::ircd_cmd_nc_change.
Referenced by do_nick().
| E void anope_cmd_nick | ( | char * | nick, | |
| char * | name, | |||
| char * | mode | |||
| ) |
Definition at line 200 of file ircd.c.
References ircd_proto_::ircd_cmd_nick.
Referenced by introduce_user().
| E void anope_cmd_notice | ( | char * | source, | |
| char * | dest, | |||
| const char * | fmt, | |||
| ... | ||||
| ) |
Definition at line 257 of file ircd.c.
References BUFSIZE, ircd_proto_::ircd_cmd_notice, and vsnprintf().
Referenced by m_privmsg().
| E void anope_cmd_notice2 | ( | char * | source, | |
| char * | dest, | |||
| char * | msg | |||
| ) |
Definition at line 270 of file ircd.c.
References ircd_proto_::ircd_cmd_notice2.
Referenced by notice(), notice_help(), notice_lang(), notice_list(), and notice_user().
| E void anope_cmd_notice_ops | ( | char * | source, | |
| char * | dest, | |||
| const char * | fmt, | |||
| ... | ||||
| ) |
Definition at line 244 of file ircd.c.
References BUFSIZE, ircd_proto_::ircd_cmd_notice_ops, and vsnprintf().
Referenced by bot_join().
| E void anope_cmd_part | ( | char * | nick, | |
| char * | chan, | |||
| const char * | fmt, | |||
| ... | ||||
| ) |
Definition at line 367 of file ircd.c.
References BUFSIZE, ircd_proto_::ircd_cmd_part, and vsnprintf().
Referenced by chan_deluser(), check_topiclock(), delchan(), do_cs_topic(), do_set(), do_sjoin(), join_user_update(), my_cs_appendtopic(), restore_topic(), timeout_leave(), and unassign().
| E void anope_cmd_pong | ( | char * | servname, | |
| char * | who | |||
| ) |
Definition at line 347 of file ircd.c.
References ircd_proto_::ircd_cmd_pong.
Referenced by save_databases().
| E void anope_cmd_privmsg | ( | char * | source, | |
| char * | dest, | |||
| const char * | fmt, | |||
| ... | ||||
| ) |
Definition at line 296 of file ircd.c.
References BUFSIZE, ircd_proto_::ircd_cmd_privmsg, and vsnprintf().
Referenced by bot_raw_ban(), bot_raw_kick(), bot_raw_mode(), chan_adduser2(), do_act(), do_fantasy(), do_moo(), and do_say().
| E void anope_cmd_privmsg2 | ( | char * | source, | |
| char * | dest, | |||
| char * | msg | |||
| ) |
Definition at line 309 of file ircd.c.
References ircd_proto_::ircd_cmd_privmsg2.
Referenced by notice(), notice_help(), notice_lang(), notice_user(), and privmsg().
| E void anope_cmd_quit | ( | char * | source, | |
| const char * | fmt, | |||
| ... | ||||
| ) |
Definition at line 334 of file ircd.c.
References BUFSIZE, ircd_proto_::ircd_cmd_quit, and vsnprintf().
Referenced by delClient(), do_bot(), and release().
| E void anope_cmd_release_svshold | ( | char * | nick | ) |
Definition at line 569 of file ircd.c.
References ircd_proto_::ircd_cmd_release_svshold.
Referenced by release().
| E void anope_cmd_remove_akill | ( | char * | user, | |
| char * | host | |||
| ) |
Definition at line 140 of file ircd.c.
References ircd_proto_::ircd_cmd_remove_akill.
Referenced by free_akill_entry(), and load_old_akill().
| E void anope_cmd_serv_notice | ( | char * | source, | |
| char * | dest, | |||
| char * | msg | |||
| ) |
Definition at line 314 of file ircd.c.
References ircd_proto_::ircd_cmd_serv_notice.
Referenced by notice_server().
| E void anope_cmd_serv_privmsg | ( | char * | source, | |
| char * | dest, | |||
| char * | msg | |||
| ) |
Definition at line 319 of file ircd.c.
References ircd_proto_::ircd_cmd_serv_privmsg.
Referenced by notice_server().
| E void anope_cmd_sgline | ( | char * | mask, | |
| char * | reason | |||
| ) |
Definition at line 589 of file ircd.c.
References ircd_proto_::ircd_cmd_sgline.
Referenced by add_sgline(), and check_sgline().
| E void anope_cmd_sqline | ( | char * | mask, | |
| char * | reason | |||
| ) |
Definition at line 524 of file ircd.c.
References ircd_proto_::ircd_cmd_sqline.
Referenced by do_bot(), do_forbid(), and sqline().
| E void anope_cmd_squit | ( | char * | servname, | |
| char * | message | |||
| ) |
Definition at line 529 of file ircd.c.
References ircd_proto_::ircd_cmd_squit.
Referenced by do_squit(), main(), services_restart(), and services_shutdown().
| E void anope_cmd_svid_umode | ( | char * | nick, | |
| time_t | ts | |||
| ) |
Definition at line 604 of file ircd.c.
References ircd_proto_::ircd_cmd_svid_umode.
Referenced by do_nick().
| E void anope_cmd_svid_umode2 | ( | User * | u, | |
| char * | ts | |||
| ) |
Definition at line 614 of file ircd.c.
References ircd_proto_::ircd_cmd_svid_umode2.
Referenced by do_nick().
| E void anope_cmd_svid_umode3 | ( | User * | u, | |
| char * | ts | |||
| ) |
Definition at line 619 of file ircd.c.
References ircd_proto_::ircd_cmd_svid_umode3.
Referenced by do_nick().
| E void anope_cmd_svshold | ( | char * | nick | ) |
Definition at line 564 of file ircd.c.
References ircd_proto_::ircd_cmd_svshold.
Referenced by cancel_user().
| E void anope_cmd_svsjoin | ( | char * | source, | |
| char * | nick, | |||
| char * | chan, | |||
| char * | param | |||
| ) |
Definition at line 624 of file ircd.c.
References ircd_proto_::ircd_cmd_svsjoin.
| E void anope_cmd_svskill | ( | char * | source, | |
| char * | user, | |||
| const char * | fmt, | |||
| ... | ||||
| ) |
Definition at line 162 of file ircd.c.
References BUFSIZE, ircd_proto_::ircd_cmd_svskill, and vsnprintf().
Referenced by cancel_user(), check_sgline(), and kill_user().
| E void anope_cmd_svsmode | ( | User * | u, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 175 of file ircd.c.
References ircd_proto_::ircd_cmd_svsmode.
Referenced by common_svsmode().
| E void anope_cmd_svsmode_chan | ( | char * | name, | |
| char * | mode, | |||
| char * | nick | |||
| ) |
Definition at line 599 of file ircd.c.
References ircd_proto_::ircd_cmd_svsmode_chan.
Referenced by do_clear(), and do_clearmodes().
| E void anope_cmd_svsnick | ( | char * | nick, | |
| char * | newnick, | |||
| time_t | when | |||
| ) |
Definition at line 544 of file ircd.c.
References ircd_proto_::ircd_cmd_svsnick.
Referenced by collide(), and do_svsnick().
| E void anope_cmd_svsnoop | ( | char * | server, | |
| int | set | |||
| ) |
Definition at line 135 of file ircd.c.
References ircd_proto_::ircd_cmd_svsnoop.
Referenced by do_noop().
| E void anope_cmd_svso | ( | char * | source, | |
| char * | nick, | |||
| char * | flag | |||
| ) |
Definition at line 534 of file ircd.c.
References ircd_proto_::ircd_cmd_svso.
Referenced by do_operoline().
| E void anope_cmd_svspart | ( | char * | source, | |
| char * | nick, | |||
| char * | chan | |||
| ) |
Definition at line 629 of file ircd.c.
References ircd_proto_::ircd_cmd_svspart.
| E void anope_cmd_swhois | ( | char * | source, | |
| char * | who, | |||
| char * | mask | |||
| ) |
Definition at line 634 of file ircd.c.
References ircd_proto_::ircd_cmd_swhois.
| E void anope_cmd_szline | ( | char * | mask, | |
| char * | reason, | |||
| char * | whom | |||
| ) |
Definition at line 584 of file ircd.c.
References ircd_proto_::ircd_cmd_szline.
Referenced by add_szline(), and check_szline().
| E void anope_cmd_topic | ( | char * | whosets, | |
| char * | chan, | |||
| char * | whosetit, | |||
| char * | topic, | |||
| time_t | when | |||
| ) |
Definition at line 145 of file ircd.c.
References ircd_proto_::ircd_cmd_topic.
Referenced by check_topiclock(), do_cs_topic(), my_cs_appendtopic(), and restore_topic().
| E void anope_cmd_unban | ( | char * | name, | |
| char * | nick | |||
| ) |
Definition at line 594 of file ircd.c.
References ircd_proto_::ircd_cmd_unban.
| E void anope_cmd_unsgline | ( | char * | mask | ) |
Definition at line 574 of file ircd.c.
References ircd_proto_::ircd_cmd_unsgline.
Referenced by free_sgline_entry().
| E void anope_cmd_unsqline | ( | char * | user | ) |
Definition at line 357 of file ircd.c.
References ircd_proto_::ircd_cmd_unsqline.
Referenced by do_bot(), do_drop(), and free_sqline_entry().
| E void anope_cmd_unszline | ( | char * | mask | ) |
Definition at line 579 of file ircd.c.
References ircd_proto_::ircd_cmd_unszline.
Referenced by free_szline_entry().
| E void anope_cmd_vhost_off | ( | User * | u | ) |
Definition at line 151 of file ircd.c.
References ircd_proto_::ircd_cmd_vhost_off.
Referenced by do_off().
| E void anope_cmd_vhost_on | ( | char * | nick, | |
| char * | vIdent, | |||
| char * | vhost | |||
| ) |
Definition at line 549 of file ircd.c.
References ircd_proto_::ircd_cmd_vhost_on.
Referenced by do_on(), and do_on_id().
| EI int anope_event_436 | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 626 of file bahamut.c.
References m_nickcoll().
Referenced by moduleAddIRCDMsgs().
| EI int anope_event_482 | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 1262 of file rageircd.c.
Referenced by moduleAddIRCDMsgs().
| EI int anope_event_admin | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 1488 of file bahamut.c.
Referenced by moduleAddIRCDMsgs().
| EI int anope_event_away | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 1291 of file bahamut.c.
References find_byuid(), m_away(), user_::nick, and UseTS6.
Referenced by moduleAddIRCDMsgs().
| EI int anope_event_bmask | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 1763 of file charybdis.c.
References add_ban(), add_exception(), add_invite(), c, findchan(), myNumToken(), myStrGetToken(), sstrdup(), and stricmp().
Referenced by moduleAddIRCDMsgs().
| EI int anope_event_burst | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 1455 of file bahamut.c.
Referenced by moduleAddIRCDMsgs().
| EI int anope_event_capab | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 575 of file bahamut.c.
References add_ban(), add_exception(), add_invite(), cmmode_::addmask, alog(), anope_cmd_global(), ircdvars_::botchanumode, ircdvars_::botserv_bot_mode, ircdvars_::botservaliasmode, ircdvars_::botservmode, capab_parse(), CBM_MINUS_NO_ARG, CBM_NO_MLOCK, CBM_NO_USER_MLOCK, chan_set_throttle(), ircdvars_::chanservaliasmode, ircdvars_::chanservmode, check_valid_op(), CMODE_f, CMODE_j, CMODE_L, cs_set_flood(), cs_set_redirect(), cs_set_throttle(), cbmodeinfo_::csgetvalue, cbmode_::cssetvalue, debug, DefConChanModes, DefConLevel, defconParseModeString(), del_ban(), del_exception(), del_invite(), cmmode_::delmask, ircdvars_::devnullmode, ircdvars_::devnullvaliasmode, ircdvars_::except, find_cbinfo(), cbmode_::flag, cbmodeinfo_::flags, cumode_::flags, cbmode_::flags, flood_mode_set, flood_mode_unset, ircdvars_::fmode, get_mode_from_char(), get_new_statusmode(), cbmodeinfo_::getvalue, ircdvars_::globalaliasmode, ircdvars_::globalmode, ircdvars_::halfop, has_allowinvite, has_auditorium, has_banexceptionmod, has_blockcaps, has_blockcolor, has_censor, has_chanfilter, has_chanprotectmod, has_chghostmod, has_chgidentmod, has_cloaking, has_globopsmod, has_halfop, has_hidechansmod, has_inviteexceptionmod, has_joinfloodmod, has_kicknorejoin, has_knock, has_messagefloodmod, has_nickflood, has_noctcp, has_nokicks, has_nonicks, has_nonotice, has_operchans, has_permchannels, has_redirectmod, has_servicesmod, has_servprotectmod, has_sslmodes, has_stripcolor, has_svsholdmod, ircdvars_::helpservaliasmode, ircdvars_::helpservmode, ircdvars_::hostservaliasmode, ircdvars_::hostservmode, init_tertiary(), ircdvars_::invitemode, ircd, cumode_::is_valid, ircdvars_::jmode, ircdvars_::Lmode, ircdvars_::memoservaliasmode, ircdvars_::memoservmode, cbmodeinfo_::mode, myCsmodes, myStrGetToken(), ircdvars_::nickservaliasmode, ircdvars_::nickservmode, ircdvars_::noknock, ircdvars_::operservaliasmode, ircdvars_::operservmode, ircdvars_::owner, 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(), ircdvars_::protect, quitmsg, quitting, s_OperServ, scalloc(), send_cmd(), set_flood(), set_redirect(), set_unkwn(), cbmode_::setvalue, snprintf(), split_buf(), srealloc(), cumode_::status, ircdvars_::svshold, and TS6SID.
Referenced by moduleAddIRCDMsgs().
| EI int anope_event_chghost | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 1470 of file inspircd11.c.
References alog(), change_user_host(), debug, find_byuid(), and finduser().
Referenced by moduleAddIRCDMsgs().
| EI int anope_event_chgident | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 1399 of file inspircd11.c.
References alog(), change_user_username(), debug, find_byuid(), and finduser().
Referenced by moduleAddIRCDMsgs().
| EI int anope_event_chgname | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 1361 of file inspircd11.c.
References alog(), change_user_realname(), debug, find_byuid(), and finduser().
Referenced by moduleAddIRCDMsgs().
| EI int anope_event_credits | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 1483 of file bahamut.c.
Referenced by moduleAddIRCDMsgs().
| EI int anope_event_cs | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 618 of file bahamut.c.
References m_privmsg(), and s_ChanServ.
Referenced by moduleAddIRCDMsgs().
| EI int anope_event_eob | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 869 of file hybrid.c.
Referenced by moduleAddIRCDMsgs().
| EI int anope_event_eos | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 1154 of file shadowircd.c.
References findserver(), findserver_uid(), finish_sync(), serv_uplink, and servlist.
Referenced by moduleAddIRCDMsgs().
| EI int anope_event_error | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 1403 of file bahamut.c.
Referenced by moduleAddIRCDMsgs().
| EI int anope_event_globops | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 1498 of file rageircd.c.
Referenced by moduleAddIRCDMsgs().
| EI int anope_event_gnotice | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 1424 of file bahamut.c.
Referenced by moduleAddIRCDMsgs().
| EI int anope_event_hs | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 609 of file bahamut.c.
References m_privmsg(), and s_HostServ.
Referenced by moduleAddIRCDMsgs().
| EI int anope_event_invite | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 1758 of file charybdis.c.
Referenced by moduleAddIRCDMsgs().
| EI int anope_event_join | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 1028 of file bahamut.c.
References do_join(), and do_sjoin().
Referenced by moduleAddIRCDMsgs().
| EI int anope_event_kick | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
| EI int anope_event_kill | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 1009 of file bahamut.c.
References find_byuid(), find_nickuid(), m_kill(), uid_::nick, user_::nick, and UseTS6.
Referenced by moduleAddIRCDMsgs().
| EI int anope_event_luserslock | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 1473 of file bahamut.c.
Referenced by moduleAddIRCDMsgs().
| EI int anope_event_mode | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 995 of file bahamut.c.
References do_cmode(), do_umode(), do_umode2(), find_byuid(), findserver(), user_::nick, servlist, and UseTS6.
Referenced by anope_event_fmode(), anope_event_opertype(), and moduleAddIRCDMsgs().
| EI int anope_event_motd | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
| EI int anope_event_ms | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 600 of file bahamut.c.
References m_privmsg(), and s_MemoServ.
Referenced by moduleAddIRCDMsgs().
| EI int anope_event_myid | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 1417 of file rageircd.c.
Referenced by moduleAddIRCDMsgs().
| EI int anope_event_netctrl | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 1538 of file ultimate3.c.
Referenced by moduleAddIRCDMsgs().
| EI int anope_event_netglobal | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 1653 of file ultimate3.c.
Referenced by moduleAddIRCDMsgs().
| EI int anope_event_netinfo | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 1483 of file ultimate2.c.
References unreal_cmd_netinfo().
Referenced by moduleAddIRCDMsgs().
| EI int anope_event_nick | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 556 of file bahamut.c.
References anope_set_umode(), decode_ip(), do_nick(), find_byuid(), findserver_uid(), server_::name, user_::nick, servlist, and UseTS6.
Referenced by moduleAddIRCDMsgs().
| EI int anope_event_notice | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 1413 of file bahamut.c.
References hybrid_event_notice().
Referenced by moduleAddIRCDMsgs().
| EI int anope_event_ns | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 591 of file bahamut.c.
References m_privmsg(), and s_NickServ.
Referenced by moduleAddIRCDMsgs().
| E int anope_event_null | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 441 of file messages.c.
Referenced by moduleAddIRCDMsgs().
| EI int anope_event_os | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 582 of file bahamut.c.
References m_privmsg(), and s_OperServ.
Referenced by moduleAddIRCDMsgs().
| EI int anope_event_part | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 954 of file bahamut.c.
References do_part(), find_byuid(), user_::nick, and UseTS6.
Referenced by moduleAddIRCDMsgs().
| EI int anope_event_pass | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
| EI int anope_event_ping | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 1300 of file bahamut.c.
References bahamut_cmd_pong(), BUFSIZE, charybdis_cmd_pong(), dreamforge_cmd_pong(), hybrid_cmd_pong(), inspircd_cmd_pong(), plexus_cmd_pong(), ptlink_cmd_pong(), rageircd_cmd_pong(), ratbox_cmd_pong(), ServerName, shadowircd_cmd_pong(), snprintf(), solidircd_cmd_pong(), TS6SID, ultimate2_cmd_pong(), ultimate3_cmd_pong(), unreal_cmd_pong(), and viagra_cmd_pong().
Referenced by moduleAddIRCDMsgs().
| EI int anope_event_privmsg | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 932 of file bahamut.c.
References find_byuid(), find_nickuid(), m_privmsg(), uid_::nick, user_::nick, and UseTS6.
Referenced by moduleAddIRCDMsgs().
| EI int anope_event_quit | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 986 of file bahamut.c.
References do_quit(), find_byuid(), user_::nick, and UseTS6.
Referenced by moduleAddIRCDMsgs().
| EI int anope_event_rehash | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 1478 of file bahamut.c.
Referenced by moduleAddIRCDMsgs().
| EI int anope_event_sdesc | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 1735 of file unreal32.c.
References server_::desc, findserver(), and servlist.
Referenced by moduleAddIRCDMsgs().
| EI int anope_event_server | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 921 of file bahamut.c.
References Anope_Free, do_server(), myStrGetToken(), myStrGetTokenRemainder(), sstrdup(), stricmp(), TS6UPLINK, uplink, and UseTS6.
Referenced by moduleAddIRCDMsgs().
| EI int anope_event_sethost | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 1418 of file inspircd11.c.
References alog(), change_user_host(), user_::chost, debug, find_byuid(), finduser(), user_::mode, sstrdup(), and UMODE_x.
Referenced by moduleAddIRCDMsgs().
| EI int anope_event_setident | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 1380 of file inspircd11.c.
References alog(), change_user_username(), debug, find_byuid(), and finduser().
Referenced by moduleAddIRCDMsgs().
| EI int anope_event_setname | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 1342 of file inspircd11.c.
References alog(), change_user_realname(), debug, find_byuid(), and finduser().
Referenced by moduleAddIRCDMsgs().
| EI int anope_event_sid | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 1218 of file charybdis.c.
References do_server(), findserver_uid(), server_::name, and servlist.
Referenced by moduleAddIRCDMsgs().
| EI int anope_event_sjoin | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
| EI int anope_event_smo | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 1677 of file unreal32.c.
Referenced by moduleAddIRCDMsgs().
| EI int anope_event_snetinfo | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 1488 of file ultimate2.c.
Referenced by moduleAddIRCDMsgs().
| EI int anope_event_snick | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 479 of file rageircd.c.
References anope_set_umode(), and do_nick().
Referenced by moduleAddIRCDMsgs().
| EI int anope_event_snotice | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 1537 of file viagra.c.
Referenced by moduleAddIRCDMsgs().
| EI int anope_event_sqline | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 1418 of file bahamut.c.
Referenced by moduleAddIRCDMsgs().
| EI int anope_event_squit | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
| EI int anope_event_svinfo | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 948 of file bahamut.c.
Referenced by moduleAddIRCDMsgs().
| EI int anope_event_svsinfo | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 651 of file ptlink.c.
Referenced by moduleAddIRCDMsgs().
| EI int anope_event_swhois | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 1715 of file unreal32.c.
Referenced by moduleAddIRCDMsgs().
| EI int anope_event_tctrl | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 655 of file viagra.c.
Referenced by moduleAddIRCDMsgs().
| EI int anope_event_tkl | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 1168 of file unreal32.c.
Referenced by moduleAddIRCDMsgs().
| EI int anope_event_tmode | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 1570 of file charybdis.c.
References do_cmode().
Referenced by moduleAddIRCDMsgs().
| EI int anope_event_topic | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 970 of file bahamut.c.
References alog(), c, check_topiclock(), debug, do_topic(), EVENT_TOPIC_UPDATED, find_byuid(), findchan(), merge_args(), user_::nick, record_topic(), send_event(), sstrdup(), strscpy(), channel_::topic, channel_::topic_setter, channel_::topic_time, and UseTS6.
Referenced by moduleAddIRCDMsgs().
| EI int anope_event_umode2 | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 1271 of file unreal32.c.
References do_umode2().
Referenced by moduleAddIRCDMsgs().
| EI int anope_event_vctrl | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 1478 of file ultimate2.c.
Referenced by moduleAddIRCDMsgs().
| EI int anope_event_vhost | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 444 of file rageircd.c.
References alog(), change_user_host(), debug, and finduser().
Referenced by moduleAddIRCDMsgs().
| EI int anope_event_vs | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 713 of file solidircd.c.
References alog(), change_user_host(), debug, and finduser().
Referenced by moduleAddIRCDMsgs().
| EI int anope_event_whois | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 962 of file bahamut.c.
References find_nickuid(), m_whois(), uid_::nick, and UseTS6.
Referenced by moduleAddIRCDMsgs().
| E int anope_flood_mode_check | ( | char * | value | ) |
Definition at line 644 of file ircd.c.
References ircd_proto_::ircd_flood_mode_check.
Referenced by cs_set_flood().
| E int anope_get_invis_mode | ( | ) |
Definition at line 1211 of file ircd.c.
References ircd_modes_::user_invis.
Referenced by do_userlist().
| E int anope_get_invite_mode | ( | ) |
Definition at line 1221 of file ircd.c.
References ircd_modes_::chan_invite.
Referenced by bot_join(), defconParseModeString(), and do_set_mlock().
| E int anope_get_key_mode | ( | ) |
Definition at line 1236 of file ircd.c.
References ircd_modes_::chan_key.
Referenced by cs_set_key().
| E int anope_get_limit_mode | ( | ) |
Definition at line 1241 of file ircd.c.
References ircd_modes_::chan_limit.
Referenced by cs_set_limit(), defconParseModeString(), and do_set_mlock().
| E int anope_get_oper_mode | ( | ) |
| E int anope_get_permchan_mode | ( | ) |
Definition at line 1246 of file ircd.c.
References ircd_modes_::chan_perm.
Referenced by chan_deluser().
| E int anope_get_private_mode | ( | ) |
Definition at line 1231 of file ircd.c.
References ircd_modes_::chan_private.
Referenced by do_chanlist().
| E int anope_get_secret_mode | ( | ) |
Definition at line 1226 of file ircd.c.
References ircd_modes_::chan_secret.
Referenced by do_chanlist(), and do_info().
| E int anope_jointhrottle_mode_check | ( | char * | value | ) |
Definition at line 649 of file ircd.c.
References ircd_proto_::ircd_jointhrottle_mode_check, and ircdvars_::jmode.
Referenced by cs_set_throttle().
| E int anope_set_mod_current_buffer | ( | int | ac, | |
| char ** | av | |||
| ) |
Definition at line 120 of file ircd.c.
References ircd_proto_::ircd_set_mod_current_buffer.
Referenced by process().
| E void anope_set_umode | ( | User * | user, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 130 of file ircd.c.
References ircd_proto_::ircd_set_umode.
Referenced by anope_event_client(), anope_event_euid(), anope_event_nick(), anope_event_snick(), anope_event_uid(), common_svsmode(), do_umode(), and do_umode2().
| E int anope_valid_chan | ( | char * | chan | ) |
Definition at line 666 of file ircd.c.
References ircd_proto_::ircd_valid_chan.
Referenced by do_forbid(), and do_register().
| E int anope_valid_nick | ( | char * | nick | ) |
Definition at line 661 of file ircd.c.
References ircd_proto_::ircd_valid_nick.
Referenced by do_bot(), do_forbid(), do_group(), and do_register().
| E int b64_decode | ( | char * | src, | |
| char * | target, | |||
| size_t | targsize | |||
| ) |
| E int b64_encode | ( | char * | src, | |
| size_t | srclength, | |||
| char * | target, | |||
| size_t | targsize | |||
| ) |
| E void bad_password | ( | User * | u | ) |
Note a bad password attempt for the given user. If they've used up their limit, toss them off.
| u | the User to check |
Definition at line 24 of file actions.c.
References BadPassLimit, BadPassTimeout, user_::invalid_pw_count, user_::invalid_pw_time, kill_user(), and user_::nick.
Referenced by do_ghost(), do_group(), do_identify(), do_recover(), and do_release().
| E long base64dec | ( | char * | b64 | ) |
| E long base64dects | ( | char * | ts | ) |
Definition at line 394 of file base64.c.
References Anope_Free, base64dec(), and myStrGetToken().
Referenced by do_sjoin(), and do_topic().
| E char* base64enc | ( | long | i | ) |
Definition at line 23 of file base64.c.
References int_to_base64().
Referenced by unreal_cmd_join().
| E void binary_to_hex | ( | unsigned char * | bin, | |
| char * | hex, | |||
| int | length | |||
| ) |
Simple function to convert binary data to hex. Taken from hybrid-ircd ( http://ircd-hybrid.com/ )
Definition at line 67 of file misc.c.
Referenced by md5_encrypt(), and sha1_encrypt().
| E void bot_join | ( | ChannelInfo * | ci | ) |
Definition at line 745 of file botserv.c.
References anope_cmd_bot_chan_mode(), anope_cmd_join(), anope_cmd_mode(), anope_cmd_notice_ops(), anope_get_invite_mode(), channel_::bans, chaninfo_::bi, BSSmartJoin, BUFSIZE, chaninfo_::c, c_elist::count, channel_::creation_time, do_cmode(), c_elist::entries, entry_match(), EVENT_BOT_JOIN, botinfo_::host, ircdcap, channel_::limit, c_elist_entry::mask, channel_::mode, chaninfo_::name, channel_::name, c_elist_entry::next, botinfo_::nick, send_event(), snprintf(), sstrdup(), ircdcapab_::tsmode, botinfo_::user, channel_::usercount, and whosends.
Referenced by bot_rejoin_all(), chan_adduser2(), do_assign(), do_kick(), do_sjoin(), and join_user_update().
| E void bot_raw_ban | ( | User * | requester, | |
| ChannelInfo * | ci, | |||
| char * | nick, | |||
| char * | reason | |||
| ) |
Definition at line 916 of file botserv.c.
References anope_cmd_kick(), anope_cmd_mode(), anope_cmd_privmsg(), chaninfo_::bi, BUFSIZE, CA_SIGNKICK, check_access(), CI_PEACE, CI_SIGNKICK, CI_SIGNKICK_LEVEL, do_cmode(), do_kick(), EVENT_BOT_KICK, ircdvars_::except, finduser(), chaninfo_::flags, get_access(), get_idealban(), getstring2, ircd, ircdcap, is_excepted(), is_protected(), chaninfo_::name, user_::nick, botinfo_::nick, ircdvars_::protectedumode, send_event(), snprintf(), sstrdup(), stricmp(), and ircdcapab_::tsmode.
Referenced by do_fantasy().
| E void bot_raw_kick | ( | User * | requester, | |
| ChannelInfo * | ci, | |||
| char * | nick, | |||
| char * | reason | |||
| ) |
Definition at line 1001 of file botserv.c.
References anope_cmd_kick(), anope_cmd_privmsg(), chaninfo_::bi, chaninfo_::c, CA_SIGNKICK, check_access(), CI_PEACE, CI_SIGNKICK, CI_SIGNKICK_LEVEL, do_kick(), EVENT_BOT_KICK, finduser(), chaninfo_::flags, get_access(), getstring2, ircd, is_on_chan(), is_protected(), chaninfo_::name, user_::nick, botinfo_::nick, ircdvars_::protectedumode, send_event(), and stricmp().
Referenced by do_fantasy().
| E void bot_raw_mode | ( | User * | requester, | |
| ChannelInfo * | ci, | |||
| char * | mode, | |||
| char * | nick | |||
| ) |
Definition at line 1048 of file botserv.c.
References anope_cmd_mode(), anope_cmd_privmsg(), chaninfo_::bi, BUFSIZE, chaninfo_::c, CI_PEACE, do_cmode(), finduser(), chaninfo_::flags, get_access(), GET_USER, getstring2, ircd, ircdcap, is_on_chan(), is_protected(), chaninfo_::name, user_::nick, botinfo_::nick, ircdvars_::protectedumode, snprintf(), stricmp(), and ircdcapab_::tsmode.
Referenced by do_fantasy().
| E void bot_rejoin_all | ( | BotInfo * | bi | ) |
Definition at line 814 of file botserv.c.
References chaninfo_::bi, bot_join(), BSMinUsers, chaninfo_::c, chanlists, chaninfo_::next, and channel_::usercount.
| E void botchanmsgs | ( | User * | u, | |
| ChannelInfo * | ci, | |||
| char * | buf | |||
| ) |
Definition at line 130 of file botserv.c.
References anope_cmd_ctcp(), Anope_Free, chaninfo_::badwords, chaninfo_::bi, bot_kick(), chaninfo_::botflags, BS_DONTKICKOPS, BS_DONTKICKVOICES, BS_FANTASY, BS_KICK_BADWORDS, BS_KICK_BOLDS, BS_KICK_CAPS, BS_KICK_COLORS, BS_KICK_FLOOD, BS_KICK_REPEAT, BS_KICK_REVERSES, BS_KICK_UNDERLINES, BSCaseSensitive, BSFantasyCharacter, BSGentleBWReason, BW_ANY, BW_END, BW_SINGLE, BW_START, chaninfo_::c, c, CA_FANTASIA, CA_NOKICK, chaninfo_::capsmin, chaninfo_::capspercent, chan_get_user_status(), check_access(), check_ban(), CUS_HALFOP, CUS_OP, CUS_OWNER, CUS_PROTECT, CUS_VOICE, chaninfo_::floodlines, chaninfo_::floodsecs, get_ignore(), get_user_data(), badword_::in_use, userdata_::last_start, userdata_::lastline, userdata_::lines, chaninfo_::name, user_::nick, botinfo_::nick, normalizeBuffer(), chaninfo_::repeattimes, scalloc(), send_event(), sstrdup(), stricmp(), stristr(), strnicmp(), userdata_::times, TTB_BADWORDS, TTB_BOLDS, TTB_CAPS, TTB_COLORS, TTB_FLOOD, TTB_REPEAT, TTB_REVERSES, TTB_UNDERLINES, badword_::type, and badword_::word.
Referenced by m_privmsg().
Definition at line 107 of file botserv.c.
References anope_cmd_ctcp(), user_::nick, botinfo_::nick, and stricmp().
Referenced by m_privmsg().
| E void botserv | ( | User * | u, | |
| char * | buf | |||
| ) |
Definition at line 82 of file botserv.c.
References anope_cmd_ctcp(), BOTSERV, mod_run_cmd(), user_::nick, notice_lang(), s_BotServ, skeleton, and stricmp().
Referenced by m_privmsg().
| E void bs_init | ( | void | ) |
Definition at line 71 of file botserv.c.
References moduleAddBotServCmds(), and s_BotServ.
Referenced by init_secondary().
| E char** buildStringList | ( | char * | src, | |
| int * | number | |||
| ) |
Build a string list from a given source string. This is usually used for parsing out values from the config file, but could be used for other things. NOTE: this function uses strtok(), be aware it will break any buffer you think you have in there ;)
Definition at line 1211 of file misc.c.
References srealloc(), and sstrdup().
Referenced by read_config().
| E void cancel_user | ( | User * | u | ) |
Definition at line 1061 of file nickserv.c.
References add_ns_timeout(), anope_cmd_guest_nick(), anope_cmd_svshold(), anope_cmd_svskill(), del_ns_timeout(), ircd, user_::na, user_::nick, nickalias_::nick, NS_GUESTED, NSEnforcerHost, NSEnforcerUser, NSReleaseTimeout, s_NickServ, nickalias_::status, ircdvars_::svshold, ircdvars_::svsnick, TO_COLLIDE, TO_RELEASE, and UseSVSHOLD.
Referenced by delete_user(), do_logout(), and do_nick().
| E void capab_parse | ( | int | ac, | |
| char ** | av | |||
| ) |
Handle parsing the CAPAB/PROTOCTL messages
| ac | Number of arguments in av | |
| av | Agruments |
Definition at line 451 of file servers.c.
References ircdvars_::chanmodes, capabinfo_::flag, ircd, myStrGetToken(), myStrGetTokenRemainder(), ircdvars_::nickchars, ircdvars_::nickip, sstrdup(), stricmp(), capabinfo_::token, and uplink_capab.
Referenced by anope_event_capab().
We let the bot join even if it was an ignored user, as if we don't, and the ignored user dosnt just leave, the bot will never make it into the channel, leaving the channel botless even for legit users - Rob
Definition at line 1607 of file channels.c.
References anope_cmd_privmsg(), chaninfo_::bi, bot_join(), chaninfo_::botflags, BS_GREET, BSMinUsers, CA_GREET, CA_MEMO, check_access(), channel_::ci, chaninfo_::entry_message, get_ignore(), nickcore_::greet, is_sync(), botinfo_::lastmsg, MemoInfo::memocount, chaninfo_::memos, user_::na, channel_::name, chaninfo_::name, nickalias_::nc, nickalias_::nick, botinfo_::nick, user_::nick, notice_lang(), notice_user(), channel_::c_userlist::prev, s_BotServ, s_MemoServ, scalloc(), user_::server, channel_::c_userlist::user, channel_::usercount, channel_::users, and whosends.
Referenced by join_user_update().
| E Channel* chan_create | ( | char * | chan, | |
| time_t | ts | |||
| ) |
Definition at line 1668 of file channels.c.
References alog(), chaninfo_::c, c, check_modes(), channel_::ci, channel_::creation_time, cs_findchan(), debug, HASH, is_sync(), channel_::name, channel_::next, channel_::prev, restore_topic(), scalloc(), serv_uplink, stick_all(), strscpy(), and channel_::topic_sync.
Referenced by join_user_update().
| E void chan_delete | ( | Channel * | c | ) |
Definition at line 1705 of file channels.c.
References alog(), channel_::bans, channel_::bd, chaninfo_::c, channel_::ci, c_elist::count, debug, c_elist::entries, entry_delete(), ircdvars_::except, channel_::excepts, channel_::flood, ircdvars_::fmode, HASH, ircdvars_::invitemode, channel_::invites, ircd, ircdvars_::jmode, channel_::key, ircdvars_::Lmode, bandata_::mask, channel_::name, channel_::next, bandata_::next, channel_::prev, channel_::redirect, channel_::throttle, and channel_::topic.
Referenced by chan_deluser().
Definition at line 24 of file channels.c.
References anope_cmd_part(), anope_get_permchan_mode(), chaninfo_::bi, BSMinUsers, chan_delete(), channel_::ci, channel_::mode, channel_::name, channel_::c_userlist::next, user_::next, botinfo_::nick, s_BotServ, update_cs_lastseen(), channel_::c_userlist::user, channel_::usercount, and channel_::users.
Referenced by delete_user(), do_join(), do_kick(), and do_part().
| E char* chan_get_modes | ( | Channel * | chan, | |
| int | complete, | |||
| int | plus | |||
| ) |
Definition at line 68 of file channels.c.
References CBM_MINUS_NO_ARG, cbmodeinfos, cbmodeinfo_::flag, cbmodeinfo_::flags, cbmodeinfo_::getvalue, cbmodeinfo_::mode, and channel_::mode.
Referenced by do_chanlist().
Definition at line 109 of file channels.c.
References user_::chans, and user_::u_chanlist::next.
Referenced by botchanmsgs(), chan_set_correct_modes(), and chan_set_modes().
Definition at line 124 of file channels.c.
References alog(), user_::chans, debug, and user_::u_chanlist::next.
Referenced by do_clear(), do_clearmodes(), and do_register().
Definition at line 143 of file channels.c.
References alog(), user_::chans, debug, channel_::name, user_::u_chanlist::next, and user_::nick.
Referenced by chan_set_correct_modes(), and chan_set_modes().
Set the correct modes, or remove the ones granted without permission, for the specified user on ths specified channel. This doesn't give modes to ignored users, but does remove them if needed.
| user | The user to give/remove modes to/from | |
| c | The channel to give/remove modes on | |
| give_modes | Set to 1 to give modes, 0 to not give modes |
Definition at line 1434 of file channels.c.
References ircdvars_::admin, ircdvars_::adminset, alog(), anope_cmd_mode(), CA_AUTODEOP, CA_AUTOHALFOP, CA_AUTOOP, CA_AUTOPROTECT, CA_AUTOVOICE, CA_HALFOPME, CA_OPDEOPME, CA_PROTECTME, chan_get_user_status(), chan_remove_user_status(), chan_set_user_status(), check_access(), channel_::ci, CI_SECUREOPS, CI_VERBOTEN, CUS_HALFOP, CUS_OP, CUS_OWNER, CUS_PROTECT, CUS_VOICE, debug, nickcore_::flags, chaninfo_::flags, get_ignore(), GET_USER, ircdvars_::halfop, ircd, is_founder(), is_sync(), is_ulined(), user_::na, server_::name, channel_::name, nickalias_::nc, NI_AUTOOP, user_::nick, ircdvars_::owner, ircdvars_::ownerset, ircdvars_::protect, user_::server, stripModePrefix(), channel_::usercount, and whosends.
Referenced by chan_set_modes(), do_enforce_secureops(), do_join(), do_setmodes(), and do_sjoin().
| E void chan_set_key | ( | Channel * | chan, | |
| char * | value | |||
| ) |
Definition at line 1981 of file channels.c.
References alog(), debug, channel_::key, channel_::name, and sstrdup().
| E void chan_set_modes | ( | const char * | source, | |
| Channel * | chan, | |||
| int | ac, | |||
| char ** | av, | |||
| int | check | |||
| ) |
Definition at line 161 of file channels.c.
References cmmode_::addmask, alog(), anope_cmd_mode(), CBM_MINUS_NO_ARG, cbmodes, chan_get_user_status(), chan_remove_user_status(), chan_set_correct_modes(), chan_set_user_status(), check_modes(), channel_::ci, CI_SECUREOPS, cmmodes, CUF_PROTECT_BOTSERV, cumodes, CUS_DEOPPED, CUS_HALFOP, CUS_OP, debug, cmmode_::delmask, find_byuid(), findbot(), finduser(), cbmode_::flag, chaninfo_::flags, cbmode_::flags, cumode_::flags, ircd, is_on_chan(), is_ulined(), merge_args(), channel_::mode, server_::name, channel_::name, user_::nick, botinfo_::nick, user_::server, cbmode_::setvalue, cumode_::status, ircdvars_::ts6, UseTS6, and whosends.
Referenced by addBan(), delBan(), do_ban(), do_clear(), do_clearmodes(), do_cmode(), do_deowner(), do_forbid(), do_mass_mode(), do_os_mode(), do_owner(), do_sjoin(), do_util(), join_user_update(), stick_all(), and stick_mask().
| E void chan_set_throttle | ( | Channel * | chan, | |
| char * | value | |||
| ) |
Definition at line 1968 of file channels.c.
References alog(), debug, channel_::name, sstrdup(), and channel_::throttle.
Referenced by anope_event_capab().
Definition at line 360 of file channels.c.
References alog(), CA_AUTOOP, user_::chans, check_access(), channel_::ci, common_svsmode(), CUS_OP, debug, HelpChannel, ircd, channel_::name, user_::u_chanlist::next, user_::nick, stricmp(), and ircdvars_::supporthelper.
Referenced by chan_set_correct_modes(), and chan_set_modes().
| E void change_core_display | ( | NickCore * | nc, | |
| char * | newdisplay | |||
| ) |
Definition at line 1410 of file nickserv.c.
References nickcore_::aliases, alog(), slist_::count, nickcore_::display, EVENT_CORE_NEWDISPLAY, HASH, insert_core(), slist_::list, nickcore_::next, nickalias_::nick, nickcore_::prev, rdb_close(), rdb_ns_set_display(), rdb_open(), s_NickServ, send_event(), and sstrdup().
Referenced by delnick(), do_saset_display(), and do_set_display().
| E void change_user_host | ( | User * | user, | |
| const char * | host | |||
| ) |
Definition at line 129 of file users.c.
References alog(), debug, user_::nick, sstrdup(), update_host(), and user_::vhost.
Referenced by anope_event_chghost(), anope_event_encap(), anope_event_newmask(), anope_event_sethost(), anope_event_vhost(), and anope_event_vs().
| E void change_user_realname | ( | User * | user, | |
| const char * | realname | |||
| ) |
Definition at line 147 of file users.c.
References alog(), debug, nickcore_::flags, nickalias_::last_realname, user_::na, nickalias_::nc, NI_SECURE, user_::nick, nick_identified(), nick_recognized(), user_::realname, and sstrdup().
Referenced by anope_event_chgname(), and anope_event_setname().
| E void change_user_username | ( | User * | user, | |
| const char * | username | |||
| ) |
Definition at line 170 of file users.c.
References alog(), common_get_vhost(), common_get_vident(), debug, nickcore_::flags, nickalias_::last_usermask, user_::na, nickalias_::nc, NI_SECURE, user_::nick, nick_identified(), nick_recognized(), smalloc(), sstrdup(), and user_::vident.
Referenced by anope_event_chgident(), anope_event_newmask(), and anope_event_setident().
| E void chanserv | ( | User * | u, | |
| char * | buf | |||
| ) |
Definition at line 389 of file chanserv.c.
References anope_cmd_ctcp(), CHANSERV, mod_run_cmd(), user_::nick, notice_lang(), s_ChanServ, skeleton, and stricmp().
Referenced by m_privmsg().
| E int check_access | ( | User * | user, | |
| ChannelInfo * | ci, | |||
| int | what | |||
| ) |
Definition at line 1974 of file chanserv.c.
References ACCESS_FOUNDER, ACCESS_INVALID, CA_AUTODEOP, CA_NOJOIN, CI_SECUREOPS, chaninfo_::flags, get_access(), chaninfo_::last_used, and chaninfo_::levels.
Referenced by bot_raw_ban(), bot_raw_kick(), botchanmsgs(), canBanUser(), chan_adduser2(), chan_set_correct_modes(), chan_set_user_status(), check_kick(), check_should_halfop(), check_should_op(), check_should_protect(), check_should_voice(), check_valid_admin(), check_valid_op(), do_access(), do_act(), do_akick(), do_assign(), do_badwords(), do_ban(), do_clear(), do_cs_kick(), do_cs_topic(), do_del(), do_enforce_restricted(), do_fantasy(), do_getkey(), do_info(), do_invite(), do_kickcmd(), do_list(), do_read(), do_say(), do_set(), do_set_limit(), do_unassign(), do_unban(), do_util(), memo_send_from(), my_cs_appendtopic(), my_cs_enforce(), plexus_check_valid_halfop(), and plexus_check_valid_op().
| E int check_akill | ( | char * | nick, | |
| const char * | username, | |||
| const char * | host, | |||
| const char * | vhost, | |||
| const char * | ip | |||
| ) |
If DefCon is set to NO new users - kill the user ;).
Definition at line 847 of file operserv.c.
References anope_cmd_akill(), akill_::by, checkDefCon(), slist_::count, DEFCON_NO_NEW_CLIENTS, DefConAkillReason, akill_::expires, akill_::host, ircd, kill_user(), slist_::list, match_wild_nocase(), ircdvars_::nickip, akill_::reason, s_OperServ, akill_::seton, akill_::user, and ircdvars_::vhost.
Referenced by do_chankill(), and do_nick().
| E int check_chan_sqline | ( | const char * | chan | ) |
Definition at line 1296 of file operserv.c.
References slist_::count, slist_::list, sxline_::mask, match_wild_nocase(), sxline_::reason, and sqline().
Referenced by do_sjoin().
| E int check_kick | ( | User * | user, | |
| char * | chan, | |||
| time_t | chants | |||
| ) |
Definition at line 1500 of file chanserv.c.
References add_timeout(), AK_ISNICK, AK_USED, chaninfo_::akick, alog(), anope_cmd_join(), anope_cmd_kick(), anope_cmd_mode(), BUFSIZE, c, CA_NOJOIN, check_access(), CI_INHABIT, CI_SUSPENDED, CI_VERBOTEN, channel_::creation_time, cs_findchan(), CSAutokickReason, CSInhabit, timeout_::data, debug, do_cmode(), ircdvars_::except, findchan(), AutoKick::flags, chaninfo_::flags, chaninfo_::forbidreason, get_idealban(), getstring, user_::host, ircd, ircdcap, is_excepted(), is_ulined(), user_::isSuperAdmin, AutoKick::mask, match_usermask(), user_::na, server_::name, AutoKick::nc, nickalias_::nc, user_::nick, nick_recognized(), AutoKick::reason, s_ChanServ, user_::server, snprintf(), sstrdup(), strscpy(), timeout_leave(), ircdcapab_::tsmode, AutoKick::u, channel_::usercount, user_::username, and whosends.
Referenced by do_akick(), do_join(), and do_sjoin().
| E void check_memos | ( | User * | u | ) |
check_memos: See if the given user has any unread memos, and send a NOTICE to that user if so (and if the appropriate flag is set).
| u | User Struct |
Definition at line 86 of file memoserv.c.
References alog(), debug, memo_::flags, nickcore_::flags, MemoInfo::memocount, MemoInfo::memomax, MemoInfo::memos, nickcore_::memos, MF_UNREAD, user_::na, nickalias_::nc, NI_MEMO_SIGNON, nick_recognized(), notice_lang(), memo_::number, and s_MemoServ.
Referenced by anope_event_encap(), anope_event_metadata(), do_group(), do_identify(), do_nick(), do_nickupdate(), and m_away().
| E void check_modes | ( | Channel * | c | ) |
Definition at line 1081 of file chanserv.c.
References alog(), anope_cmd_global(), anope_cmd_mode(), channel_::bouncy_modes, CBM_MINUS_NO_ARG, cbmodeinfos, cbmodes, channel_::chanserv_modecount, channel_::chanserv_modetime, channel_::ci, cbmodeinfo_::csgetvalue, debug, DefConLevel, DefConModesCI, DefConModesOff, DefConModesOn, DefConModesSet, cbmodeinfo_::flag, cbmode_::flags, cbmodeinfo_::getvalue, ircd, chaninfo_::mlock_off, chaninfo_::mlock_on, cbmodeinfo_::mode, channel_::mode, channel_::name, ircdvars_::regmode, s_ChanServ, s_OperServ, channel_::server_modecount, cbmode_::setvalue, and whosends.
Referenced by chan_create(), chan_set_modes(), do_clear(), do_register(), and do_set_mlock().
| E int check_sgline | ( | char * | nick, | |
| const char * | realname | |||
| ) |
Definition at line 1074 of file operserv.c.
References anope_cmd_sgline(), anope_cmd_svskill(), slist_::count, sxline_::expires, slist_::list, sxline_::mask, match_wild_nocase(), sxline_::reason, and ServerName.
Referenced by do_nick().
| E int check_should_halfop | ( | User * | user, | |
| char * | chan | |||
| ) |
Definition at line 1418 of file chanserv.c.
References anope_cmd_mode(), CA_AUTOHALFOP, check_access(), CI_VERBOTEN, cs_findchan(), chaninfo_::flags, GET_USER, and whosends.
| E int check_should_op | ( | User * | user, | |
| char * | chan | |||
| ) |
Definition at line 1375 of file chanserv.c.
References anope_cmd_mode(), CA_AUTOOP, check_access(), CI_SECURE, CI_VERBOTEN, cs_findchan(), chaninfo_::flags, GET_USER, nick_identified(), and whosends.
| E int check_should_owner | ( | User * | user, | |
| char * | chan | |||
| ) |
Definition at line 1435 of file chanserv.c.
References anope_cmd_mode(), CI_SECUREFOUNDER, CI_VERBOTEN, cs_findchan(), chaninfo_::flags, GET_USER, ircd, is_founder(), is_real_founder(), ircdvars_::ownerset, stripModePrefix(), and whosends.
| E int check_should_protect | ( | User * | user, | |
| char * | chan | |||
| ) |
Definition at line 1457 of file chanserv.c.
References ircdvars_::adminset, anope_cmd_mode(), CA_AUTOPROTECT, check_access(), CI_VERBOTEN, cs_findchan(), chaninfo_::flags, GET_USER, ircd, stripModePrefix(), and whosends.
| E int check_should_voice | ( | User * | user, | |
| char * | chan | |||
| ) |
Definition at line 1398 of file chanserv.c.
References anope_cmd_mode(), CA_AUTOVOICE, check_access(), CI_SECURE, CI_VERBOTEN, cs_findchan(), chaninfo_::flags, GET_USER, nick_identified(), and whosends.
| E int check_sqline | ( | char * | nick, | |
| int | nick_change | |||
| ) |
Definition at line 1265 of file operserv.c.
References ircdvars_::chansqline, slist_::count, ircd, kill_user(), slist_::list, sxline_::mask, match_wild_nocase(), sxline_::reason, s_OperServ, snprintf(), and sqline().
Referenced by do_nick().
| E int check_szline | ( | char * | nick, | |
| char * | ip | |||
| ) |
Definition at line 1461 of file operserv.c.
References anope_cmd_szline(), sxline_::by, slist_::count, sxline_::expires, slist_::list, sxline_::mask, match_wild_nocase(), and sxline_::reason.
Referenced by do_nick().
| E int check_topiclock | ( | Channel * | c, | |
| time_t | topic_time | |||
| ) |
Definition at line 1721 of file chanserv.c.
References alog(), anope_cmd_join(), anope_cmd_mode(), anope_cmd_part(), anope_cmd_topic(), channel_::ci, CI_TOPICLOCK, channel_::creation_time, debug, chaninfo_::flags, GET_BOT, ircd, ircdvars_::join2set, chaninfo_::last_topic, chaninfo_::last_topic_setter, chaninfo_::last_topic_time, chaninfo_::name, channel_::name, NICKMAX, s_ChanServ, sstrdup(), strscpy(), channel_::topic, channel_::topic_setter, channel_::topic_time, ircdvars_::topictsforward, and whosends.
Referenced by anope_event_tburst(), anope_event_topic(), and do_topic().
Definition at line 1255 of file chanserv.c.
References ircdvars_::admin, ircdvars_::adminunset, anope_cmd_mode(), CA_AUTODEOP, CA_AUTOPROTECT, check_access(), channel_::ci, CI_VERBOTEN, chaninfo_::flags, GET_USER, ircd, channel_::name, notice_lang(), s_ChanServ, and whosends.
Definition at line 1290 of file chanserv.c.
References ircdvars_::adminunset, anope_cmd_mode(), CA_AUTODEOP, CA_AUTOHALFOP, CA_AUTOOP, check_access(), channel_::ci, CI_VERBOTEN, chaninfo_::flags, GET_USER, ircdvars_::halfop, ircd, channel_::name, notice_lang(), ircdvars_::owner, ircdvars_::ownerunset, ircdvars_::protect, s_ChanServ, stripModePrefix(), and whosends.
Referenced by anope_event_capab().
| E int checkDefCon | ( | int | level | ) |
Returns 1 if the passed level is part of the CURRENT defcon, else 0 is returned
Definition at line 1608 of file operserv.c.
References DefCon, and DefConLevel.
Referenced by add_session(), check_akill(), defcon_sendlvls(), do_group(), do_nick(), do_register(), do_run_cmd(), do_sendall(), do_set_mlock(), do_staff(), memo_send_from(), req_send_memos(), rsend_notify(), and runDefCon().
Turn a cidr value into a netmask
| cidr | CIDR value |
Definition at line 1501 of file misc.c.
Referenced by str_is_cidr().
| E void clean_ns_timeouts | ( | NickAlias * | na | ) |
Definition at line 1854 of file nickserv.c.
References alog(), debug, del_timeout(), my_timeouts, my_timeout::na, my_timeout::next, nickalias_::nick, my_timeout::prev, release(), s_NickServ, my_timeout::to, TO_RELEASE, and my_timeout::type.
Referenced by delnick().
| E void CleanAccess | ( | ChannelInfo * | ci | ) |
Reorder the access list to get rid of unused entries
| ci | The channel to reorder the access of |
Definition at line 2755 of file chanserv.c.
References chaninfo_::access, chaninfo_::accesscount, ChanAccess::in_use, ChanAccess::last_seen, ChanAccess::level, ChanAccess::nc, and srealloc().
Referenced by cs_remove_nick(), do_access(), do_set_xop(), and do_xop().
| E int clear_ignores | ( | ) |
Clear the ignorelist.
Definition at line 240 of file process.c.
References alog(), debug, ignore_data::mask, and ignore_data::next.
Referenced by do_ignoreuser().
| E void close_log | ( | void | ) |
Definition at line 109 of file log.c.
References logfile.
Referenced by checkday(), do_set(), init_secondary(), main(), and services_restart().
| E void collide | ( | NickAlias * | na, | |
| int | from_timeout | |||
| ) |
Definition at line 1665 of file nickserv.c.
References anope_cmd_svsnick(), del_ns_timeout(), finduser(), getrandom16(), ircd, kill_user(), nickalias_::nick, notice_lang(), NSGuestNickPrefix, s_NickServ, snprintf(), nickalias_::status, ircdvars_::svsnick, TO_COLLIDE, and nickalias_::u.
Referenced by do_forbid(), do_recover(), do_suspend(), timeout_collide(), and validate_user().
| E char* common_get_vhost | ( | User * | u | ) |
Get the vhost for the user, if set else return the host, on ircds without vhost this returns the host
| u | user to get the vhost for |
Definition at line 251 of file actions.c.
References user_::chost, user_::host, ircd, user_::mode, user_::vhost, and ircdvars_::vhostmode.
Referenced by anope_event_encap(), anope_event_metadata(), change_user_username(), create_mask(), do_confirm(), do_group(), do_identify(), do_nick(), do_userlist(), get_ban_data(), get_idealban(), set_lastmask(), update_host(), and validate_user().
| E char* common_get_vident | ( | User * | u | ) |
Get the vident for the user, if set else return the ident, on ircds without vident this returns the ident
| u | user to get info the vident for |
Definition at line 272 of file actions.c.
References ircd, user_::mode, user_::username, ircdvars_::vhostmode, ircdvars_::vident, and user_::vident.
Referenced by anope_event_encap(), anope_event_metadata(), change_user_username(), create_mask(), do_confirm(), do_group(), do_identify(), do_nick(), do_userlist(), get_ban_data(), get_idealban(), set_lastmask(), update_host(), and validate_user().
| E void common_svsmode | ( | User * | u, | |
| char * | modes, | |||
| char * | arg | |||
| ) |
Prepare to set SVSMODE and update internal user modes
| u | user to apply modes to | |
| modes | the modes to set on the user | |
| arg | the arguments for the user modes |
Definition at line 228 of file actions.c.
References anope_cmd_svsmode(), and anope_set_umode().
Referenced by anope_event_eob(), anope_event_metadata(), anope_event_uid(), bahamut_cmd_nc_change(), bahamut_cmd_svid_umode3(), bahamut_set_umode(), chan_set_user_status(), delnick(), do_confirm(), do_group(), do_identify(), do_logout(), do_operoline(), do_operumodes(), dreamforge_cmd_nc_change(), dreamforge_cmd_svid_umode2(), dreamforge_set_umode(), hybrid_cmd_nc_change(), hybrid_cmd_svid_umode3(), inspircd_cmd_nc_change(), inspircd_cmd_svid_umode2(), inspircd_cmd_vhost_off(), inspircd_set_umode(), plexus_cmd_nc_change(), plexus_cmd_svid_umode2(), plexus_cmd_svid_umode3(), plexus_cmd_vhost_off(), plexus_cmd_vhost_on(), plexus_set_umode(), ptlink_cmd_svid_umode2(), ptlink_set_umode(), rageircd_cmd_nc_change(), rageircd_cmd_svid_umode3(), rageircd_cmd_vhost_off(), rageircd_set_umode(), solidircd_cmd_nc_change(), solidircd_cmd_svid_umode3(), solidircd_cmd_vhost_off(), solidircd_set_umode(), ultiamte2_set_umode(), ultimate2_cmd_nc_change(), ultimate2_cmd_svid_umode2(), ultimate3_cmd_nc_change(), ultimate3_cmd_svid_umode3(), ultimate3_cmd_vhost_off(), ultimate3_set_umode(), unreal_cmd_nc_change(), unreal_cmd_svid_umode2(), unreal_cmd_vhost_off(), unreal_set_umode(), viagra_cmd_nc_change(), viagra_cmd_svid_umode3(), viagra_cmd_vhost_off(), and viagra_set_umode().
| E void common_unban | ( | ChannelInfo * | ci, | |
| char * | nick | |||
| ) |
| E void common_unban_full | ( | ChannelInfo * | ci, | |
| char * | nick, | |||
| boolean | full | |||
| ) |
Definition at line 214 of file actions.c.
References _common_unban().
Referenced by do_fantasy(), and do_unban().
| E int conn | ( | const char * | host, | |
| int | port, | |||
| const char * | lhost, | |||
| int | lport | |||
| ) |
lhost/lport specify the local side of the connection. If they are not given (lhost==NULL, lport==0), then they are left free to vary.
| host | Remote Host | |
| port | Remote Port | |
| lhost | LocalHost | |
| lport | LocalPort |
Definition at line 553 of file sockutil.c.
References alog(), ano_sockclose, ano_sockgeterr, ano_sockseterr, pack_ip(), and SOCKERR_EINVAL.
Referenced by init_secondary().
| E char* create_mask | ( | User * | u | ) |
Definition at line 1122 of file users.c.
References common_get_vhost(), common_get_vident(), smalloc(), sstrdup(), strspn(), and USERMAX.
Referenced by do_confirm(), and get_idealban().
| E HostCore* createHostCorelist | ( | HostCore * | next, | |
| char * | nick, | |||
| char * | vIdent, | |||
| char * | vHost, | |||
| char * | creator, | |||
| int32 | tmp_time | |||
| ) |
Create HostCore list member
| next | HostCore next slot | |
| nick | Nick to add | |
| vIdent | Virtual Ident | |
| vHost | Virtual Host | |
| creator | Person whom set the vhost | |
| time | Time the vhost was Set |
Definition at line 131 of file hostserv.c.
References anope_cmd_global(), hostcore_::creator, hostcore_::next, hostcore_::nick, s_HostServ, hostcore_::time, hostcore_::vHost, and hostcore_::vIdent.
Referenced by addHostCore(), and my_add_host_request().
| ChannelInfo * cs_findchan | ( | const char * | chan | ) |
Definition at line 2000 of file db-merger.c.
References alog(), debug, mystricmp(), chaninfo_::name, chaninfo_::next, stricmp(), and tolower.
Referenced by chan_create(), check_kick(), check_should_halfop(), check_should_op(), check_should_owner(), check_should_protect(), check_should_voice(), do_access(), do_act(), do_akick(), do_assign(), do_badwords(), do_cmode(), do_del(), do_drop(), do_fantasy(), do_forbid(), do_getkey(), do_getpass(), do_identify(), do_info(), do_kick(), do_kickcmd(), do_levels(), do_list(), do_logout(), do_moo(), do_read(), do_register(), do_say(), do_sendpass(), do_set(), do_set_limit(), do_status(), do_suspend(), do_unassign(), do_unsuspend(), do_xop(), getmemoinfo(), listchans(), m_privmsg(), main(), mLoadData(), myAddChanInfo(), myChanInfo(), and timeout_leave().
| E char* cs_get_flood | ( | ChannelInfo * | ci | ) |
Definition at line 2417 of file chanserv.c.
References ircdvars_::fmode, ircd, and chaninfo_::mlock_flood.
| E char* cs_get_key | ( | ChannelInfo * | ci | ) |
Definition at line 2447 of file chanserv.c.
References chaninfo_::mlock_key.
| E char* cs_get_limit | ( | ChannelInfo * | ci | ) |
Definition at line 2458 of file chanserv.c.
References chaninfo_::mlock_limit, and snprintf().
| E char* cs_get_redirect | ( | ChannelInfo * | ci | ) |
Definition at line 2476 of file chanserv.c.
References ircd, ircdvars_::Lmode, and chaninfo_::mlock_redirect.
| E char* cs_get_throttle | ( | ChannelInfo * | ci | ) |
Definition at line 2432 of file chanserv.c.
References ircd, ircdvars_::jmode, and chaninfo_::mlock_throttle.
| E char* cs_get_unkwn | ( | ChannelInfo * | ci | ) |
Definition at line 2493 of file chanserv.c.
| E void cs_init | ( | void | ) |
Definition at line 380 of file chanserv.c.
References moduleAddChanServCmds().
Referenced by init_secondary().
| E void cs_remove_bot | ( | const BotInfo * | bi | ) |
Definition at line 1931 of file chanserv.c.
References chaninfo_::bi, and chaninfo_::next.
Referenced by delbot().
| E void cs_remove_nick | ( | const NickCore * | nc | ) |
Definition at line 1814 of file chanserv.c.
References chaninfo_::access, chaninfo_::accesscount, AutoKick::addtime, AK_ISNICK, AK_USED, chaninfo_::akick, chaninfo_::akickcount, alog(), anope_cmd_mode(), chaninfo_::c, nickcore_::channelcount, nickcore_::channelmax, CleanAccess(), AutoKick::creator, delchan(), nickcore_::display, AutoKick::flags, chaninfo_::founder, ChanAccess::in_use, ircd, AutoKick::mask, channel_::mode, chaninfo_::name, AutoKick::nc, ChanAccess::nc, chaninfo_::next, nick_is_services_admin(), AutoKick::reason, ircdvars_::regmode, s_ChanServ, srealloc(), sstrdup(), chaninfo_::successor, AutoKick::u, and whosends.
Referenced by delcore().
| E void cs_set_flood | ( | ChannelInfo * | ci, | |
| char * | value | |||
| ) |
Definition at line 2500 of file chanserv.c.
References anope_flood_mode_check(), ircdvars_::chan_fmode, ircd, chaninfo_::mlock_flood, chaninfo_::mlock_on, and sstrdup().
Referenced by anope_event_capab().
| E void cs_set_key | ( | ChannelInfo * | ci, | |
| char * | value | |||
| ) |
Definition at line 2538 of file chanserv.c.
References anope_get_key_mode(), chaninfo_::mlock_key, chaninfo_::mlock_on, and sstrdup().
| E void cs_set_limit | ( | ChannelInfo * | ci, | |
| char * | value | |||
| ) |
Definition at line 2558 of file chanserv.c.
References anope_get_limit_mode(), chaninfo_::mlock_limit, and chaninfo_::mlock_on.
| E void cs_set_redirect | ( | ChannelInfo * | ci, | |
| char * | value | |||
| ) |
Definition at line 2572 of file chanserv.c.
References ircdvars_::chan_lmode, ircd, chaninfo_::mlock_on, chaninfo_::mlock_redirect, and sstrdup().
Referenced by anope_event_capab().
| E void cs_set_throttle | ( | ChannelInfo * | ci, | |
| char * | value | |||
| ) |
Definition at line 2520 of file chanserv.c.
References anope_jointhrottle_mode_check(), ircdvars_::chan_jmode, ircd, chaninfo_::mlock_on, chaninfo_::mlock_throttle, and sstrdup().
Referenced by anope_event_capab().
| E void cs_set_unkwn | ( | ChannelInfo * | ci, | |
| char * | value | |||
| ) |
Definition at line 2594 of file chanserv.c.
| E int decode_ip | ( | char * | buf | ) |
| E int defconParseModeString | ( | const char * | str | ) |
Definition at line 1703 of file operserv.c.
References alog(), anope_get_invite_mode(), anope_get_limit_mode(), CBM_NO_MLOCK, cbmodes, ircdvars_::chan_lmode, cbmode_::cssetvalue, DefConModesOff, DefConModesOn, cbmode_::flag, cbmode_::flags, ircd, ircdvars_::knock_needs_i, ircdvars_::Lmode, chaninfo_::mlock_flood, chaninfo_::mlock_key, chaninfo_::mlock_limit, chaninfo_::mlock_redirect, ircdvars_::noknock, and sstrdup().
Referenced by anope_event_capab(), and init_secondary().
| E void del_ban | ( | Channel * | chan, | |
| char * | mask | |||
| ) |
Definition at line 1774 of file channels.c.
References alog(), channel_::bans, channel_::ci, c_elist::count, debug, elist_find_mask(), entry_delete(), is_stuck(), channel_::name, and stick_mask().
Referenced by anope_event_capab().
| E void del_exception | ( | Channel * | chan, | |
| char * | mask | |||
| ) |
Definition at line 1799 of file channels.c.
References alog(), c_elist::count, debug, elist_find_mask(), entry_delete(), channel_::excepts, and channel_::name.
Referenced by anope_event_capab().
| E void del_invite | ( | Channel * | chan, | |
| char * | mask | |||
| ) |
Definition at line 1820 of file channels.c.
References alog(), c_elist::count, debug, elist_find_mask(), entry_delete(), channel_::invites, and channel_::name.
Referenced by anope_event_capab().
| E void del_ns_timeout | ( | NickAlias * | na, | |
| int | type | |||
| ) |
Definition at line 1825 of file nickserv.c.
References del_timeout(), my_timeouts, my_timeout::na, my_timeout::next, my_timeout::prev, my_timeout::to, and my_timeout::type.
Referenced by cancel_user(), collide(), do_identify(), do_logout(), and release().
| E void del_session | ( | const char * | host | ) |
Definition at line 265 of file sessions.c.
References alog(), anope_cmd_global(), session_::count, debug, findsession(), HASH, session_::host, LimitSessions, session_::next, nsessions, session_::prev, and s_OperServ.
Referenced by delete_server(), do_kill(), and do_quit().
| E int delchan | ( | ChannelInfo * | ci | ) |
Definition at line 2063 of file chanserv.c.
References chaninfo_::access, AK_ISNICK, chaninfo_::akick, chaninfo_::akickcount, alog(), anope_cmd_part(), chaninfo_::badwords, chaninfo_::bi, BSMinUsers, chaninfo_::bwcount, chaninfo_::c, botinfo_::chancount, nickcore_::channelcount, channel_::ci, AutoKick::creator, debug, chaninfo_::desc, chaninfo_::email, chaninfo_::entry_message, AutoKick::flags, ircdvars_::fmode, chaninfo_::forbidby, chaninfo_::forbidreason, chaninfo_::founder, user_::founder_chans, ircd, ircdvars_::jmode, chaninfo_::last_topic, chaninfo_::levels, ircdvars_::Lmode, AutoKick::mask, MemoInfo::memocount, MemoInfo::memos, chaninfo_::memos, chaninfo_::mlock_flood, chaninfo_::mlock_key, chaninfo_::mlock_redirect, chaninfo_::mlock_throttle, moduleCleanStruct(), chaninfo_::moduleData, memo_::moduleData, channel_::name, chaninfo_::name, chaninfo_::next, user_::u_chaninfolist::next, user_::next, user_::nick, botinfo_::nick, chaninfo_::prev, AutoKick::reason, memo_::text, tolower, chaninfo_::ttb, AutoKick::u, chaninfo_::url, channel_::usercount, userlist, and badword_::word.
Referenced by cs_remove_nick(), db_mysql_load_cs_dbase(), do_drop(), do_forbid(), do_info(), do_register(), expire_chans(), and load_cs_dbase().
| E int delete_ignore | ( | const char * | nick | ) |
Deletes a given nick/mask from the ignorelist.
| nick | Nick or (nick!)user to delete from the ignorelist. |
Definition at line 178 of file process.c.
References alog(), debug, finduser(), user_::host, ignore_data::mask, ignore_data::next, ignore_data::prev, snprintf(), and stricmp().
Referenced by do_ignoreuser().
| E void delete_user | ( | User * | user | ) |
Definition at line 195 of file users.c.
References alog(), Anope_Free, c, cancel_user(), chan_deluser(), user_::chans, user_::chost, debug, EVENT_USER_LOGOFF, user_::founder_chans, HASH, user_::host, user_::hostip, ircd, is_oper(), LogUsers, moduleCleanStruct(), user_::moduleData, user_::na, server_::name, user_::next, user_::u_chaninfolist::next, user_::u_chanlist::next, user_::nick, user_::nickTrack, normalizeBuffer(), opcnt, user_::prev, user_::realname, send_event(), user_::server, nickalias_::u, user_::uid, usercnt, user_::username, user_::vhost, ircdvars_::vhost, and user_::vident.
Referenced by delete_server(), do_kill(), do_quit(), and services_shutdown().
Definition at line 268 of file hostserv.c.
References hostcore_::creator, hostcore_::next, hostcore_::nick, hostcore_::vHost, and hostcore_::vIdent.
Referenced by addHostCore(), AnopeFini(), delHostCore(), hs_do_activate(), hs_do_reject(), hsreqevt_nick_dropped(), and my_add_host_request().
| E void delHostCore | ( | char * | nick | ) |
Definition at line 345 of file hostserv.c.
References alog(), deleteHostCore(), findHostCore(), rdb_close(), rdb_open(), rdb_quote(), rdb_scrub_table(), and snprintf().
Referenced by delnick(), do_del(), and do_delall().
| E int delmemo | ( | MemoInfo * | mi, | |
| int | num | |||
| ) |
Delete a memo by number.
| mi | Memoinfo struct | |
| num | Memo number to delete |
Definition at line 363 of file memoserv.c.
References MemoInfo::memocount, MemoInfo::memos, moduleCleanStruct(), memo_::moduleData, memo_::number, and memo_::text.
Referenced by del_memo_callback(), do_cancel(), and do_del().
| E int delnick | ( | NickAlias * | na | ) |
Definition at line 1580 of file nickserv.c.
References nickcore_::aliases, alog(), change_core_display(), clean_ns_timeouts(), common_svsmode(), slist_::count, delcore(), delHostCore(), nickcore_::display, HASH, ircd, nickalias_::last_quit, nickalias_::last_realname, nickalias_::last_usermask, ircdvars_::modeonunreg, moduleCleanStruct(), nickalias_::moduleData, user_::na, nickalias_::nc, nickalias_::next, nickalias_::nick, nickalias_::prev, rdb_close(), rdb_open(), rdb_quote(), rdb_scrub_table(), slist_remove(), snprintf(), stricmp(), and nickalias_::u.
Referenced by do_drop(), do_forbid(), do_group(), expire_nicks(), load_ns_dbase(), load_old_ns_dbase(), and main().
| E int delnickrequest | ( | NickRequest * | nr | ) |
Definition at line 1548 of file nickserv.c.
References nickrequest_::email, HASH, nickrequest_::next, nickrequest_::nick, nickrequest_::passcode, and nickrequest_::prev.
Referenced by do_confirm(), do_drop(), do_register(), and expire_requests().
| E void disconn | ( | ano_socket_t | s | ) |
Close up the connection
| s | Socket |
Definition at line 632 of file sockutil.c.
References ano_sockclose.
Referenced by init_secondary(), main(), services_restart(), and services_shutdown().
Definition at line 269 of file news.c.
References alog(), NEWS_LOGON, NEWS_OPER, NEWS_RANDOM, NewsCount, nnews, notice_lang(), s_GlobalNoticer, and strftime_lang().
Referenced by bahamut_set_umode(), charybdis_set_umode(), do_nick(), dreamforge_set_umode(), hybrid_set_umode(), inspircd_set_umode(), plexus_set_umode(), ptlink_set_umode(), rageircd_set_umode(), ratbox_set_umode(), shadowircd_set_umode(), solidircd_set_umode(), ultiamte2_set_umode(), ultimate3_set_umode(), unreal_set_umode(), and viagra_set_umode().
| E void do_backtrace | ( | int | show_segheader | ) |
Definition at line 729 of file main.c.
References alog(), strings, version_build, version_flags, and version_number.
Referenced by moduleAddData(), moduleDelAllData(), moduleDelData(), moduleGetData(), sighandler(), and sstrdup().
| E void do_cmode | ( | const char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 1181 of file channels.c.
References alog(), chan_set_modes(), CI_VERBOTEN, cs_findchan(), debug, findchan(), chaninfo_::flags, ircd, ircdcap, merge_args(), channel_::server_modecount, channel_::server_modetime, ircdvars_::ts6, ircdcapab_::tsmode, uplink_capab, UseTS6, and UseTSMODE.
Referenced by _common_unban(), anope_event_mode(), anope_event_tmode(), bot_join(), bot_raw_ban(), bot_raw_mode(), check_ban(), check_kick(), and do_clear().
| E int do_exception | ( | User * | u | ) |
Definition at line 663 of file sessions.c.
References dotime(), exception_add(), exception_del(), exception_del_callback(), exception_list(), exception_list_callback(), exception_view(), exception_view_callback(), ExceptionExpiry, expire_exceptions(), LimitSessions, match_wild_nocase(), MaxSessionLimit, nexceptions, user_::nick, notice_lang(), process_numlist(), readonly, s_OperServ, scalloc(), stricmp(), strspn(), and syntax_error().
Referenced by AnopeInit().
| E void do_join | ( | const char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 554 of file channels.c.
References alog(), c, chan_deluser(), chan_set_correct_modes(), user_::chans, check_kick(), debug, EVENT_JOIN_CHANNEL, EVENT_PART_CHANNEL, EVENT_START, EVENT_STOP, find_byuid(), findchan(), finduser(), ircd, join_user_update(), merge_args(), user_::u_chanlist::next, user_::nick, send_event(), sstrdup(), ircdvars_::ts6, and UseTS6.
Referenced by anope_event_join().
| E void do_kick | ( | const char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 636 of file channels.c.
References alog(), bot_join(), c, chan_deluser(), user_::chans, cs_findchan(), debug, EVENT_CHAN_KICK, find_byuid(), find_nickuid(), findbot(), finduser(), ircd, merge_args(), user_::u_chanlist::next, user_::nick, uid_::nick, s_BotServ, send_event(), stricmp(), ircdvars_::ts6, and UseTS6.
Referenced by anope_event_kick(), bot_kick(), bot_raw_ban(), bot_raw_kick(), do_akick(), do_ban(), do_clear(), do_cs_kick(), do_enforce_cmode_R(), do_enforce_restricted(), do_forbid(), do_os_kick(), do_suspend(), and sqline().
| E void do_kill | ( | char * | source, | |
| char * | reason | |||
| ) |
Definition at line 889 of file users.c.
References alog(), debug, del_session(), delete_user(), finduser(), nickcore_::flags, user_::host, is_ulined(), nickalias_::last_quit, nickalias_::last_seen, LimitSessions, user_::na, server_::name, nickalias_::nc, NI_SUSPENDED, NS_IDENTIFIED, NS_RECOGNIZED, NS_VERBOTEN, user_::server, sstrdup(), and nickalias_::status.
Referenced by kill_user(), and m_kill().
| E void do_listchans | ( | int | ac, | |
| char ** | av | |||
| ) |
List all register channels
| ac | Number of Arguments | |
| av | Array if Arguments |
Definition at line 113 of file list.c.
References lang_init(), listchans(), load_cs_dbase(), load_ns_dbase(), ModuleRunTimeDirCleanUp(), read_config(), services_dir, and strerror().
Referenced by main().
| E void do_listnicks | ( | int | ac, | |
| char ** | av | |||
| ) |
List all register nicks
| ac | Number of Arguments | |
| av | Array if Arguments |
Definition at line 24 of file list.c.
References lang_init(), listnicks(), load_ns_dbase(), ModuleRunTimeDirCleanUp(), read_config(), services_dir, and strerror().
Referenced by main().
| E int do_logonnews | ( | User * | u | ) |
Definition at line 336 of file news.c.
References do_news(), and NEWS_LOGON.
Referenced by AnopeInit().
| E void do_mass_mode | ( | char * | modes | ) |
Definition at line 2027 of file channels.c.
References anope_cmd_mode(), channel_::bouncy_modes, c, chan_set_modes(), firstchan(), channel_::name, nextchan(), s_OperServ, split_buf(), and sstrdup().
Referenced by runDefCon().
| 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 | |||
| ) |
Adds a new user to anopes internal userlist.
If the SVID passed is 2, the user will not be marked registered or requested to ID. This is an addition to accomodate IRCds where we cannot determine this based on the NICK or UID command. Some IRCd's keep +r on when changing nicks and do not use SVID (ex. InspIRCd 1.2). Instead we get a METADATA command containing the accountname the user was last identified to. Since this is received after the user is introduced to us we should not yet mark the user as identified or ask him to identify. We will mark him as recognized for the time being and let him keep his +r if he has it. It is the responsibility of the protocol module to make sure that this is either invalidated, or changed to identified. ~ Viper
Ugly swap routine for Flop's bug :)
End of ugly swap
DefCon AKILL system, if we want to akill all connecting user's here's where to do it then force check_akill again on them...
Definition at line 500 of file users.c.
References add_akill(), add_session(), alog(), anope_cmd_nc_change(), anope_cmd_svid_umode(), anope_cmd_svid_umode2(), anope_cmd_svid_umode3(), Anope_Free, cancel_user(), change_user_nick(), check_akill(), check_memos(), ircdvars_::check_nick_id, check_sgline(), check_sqline(), check_szline(), checkDefCon(), user_::chost, common_get_vhost(), common_get_vident(), debug, DEFCON_AKILL_NEW_CLIENTS, DefConAKILL, DefConAkillReason, display_news(), dotime(), EVENT_CHANGE_NICK, EVENT_NEWNICK, find_byuid(), findserver(), finduser(), user_::host, user_::hostip, HOSTMAX, ircd, is_oper(), is_sync(), is_ulined(), user_::isSuperAdmin, nickalias_::last_seen, nickalias_::last_usermask, LimitSessions, LogUsers, user_::my_signon, user_::na, server_::name, nickalias_::nc, new_user(), NEWS_LOGON, NEWS_RANDOM, user_::nick, nick_identified(), nick_recognized(), ircdvars_::nickip, ircdvars_::nickvhost, normalizeBuffer(), nsCheckNickTracking(), NSNickTracking, nsStartNickTracking(), ntoa(), user_::realname, s_NickServ, s_OperServ, send_event(), user_::server, servlist, ircdvars_::sgline, smalloc(), snprintf(), ircdvars_::sqline, sstrdup(), nickalias_::status, stricmp(), user_::svid, ircdvars_::szline, user_::timestamp, ircdvars_::ts6, user_::uid, USERMAX, user_::username, UseTS6, validate_user(), ircdvars_::vhost, user_::vhost, and user_::vident.
Referenced by anope_event_client(), anope_event_euid(), anope_event_nick(), anope_event_snick(), and anope_event_uid().
| E int do_on_id | ( | User * | u | ) |
Definition at line 582 of file hostserv.c.
References anope_cmd_vhost_on(), getvHost(), getvIdent(), ircd, user_::nick, notice_lang(), s_HostServ, set_lastmask(), sstrdup(), user_::vhost, ircdvars_::vhost, user_::vident, and ircdvars_::vident.
Referenced by do_identify(), and do_nickupdate().
| E int do_opernews | ( | User * | u | ) |
Definition at line 344 of file news.c.
References do_news(), and NEWS_OPER.
Referenced by AnopeInit().
| E void do_part | ( | const char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 708 of file channels.c.
References alog(), c, chan_deluser(), user_::chans, debug, EVENT_PART_CHANNEL, EVENT_START, EVENT_STOP, find_byuid(), finduser(), ircd, merge_args(), user_::u_chanlist::next, user_::nick, send_event(), sstrdup(), stricmp(), ircdvars_::ts6, and UseTS6.
Referenced by anope_event_part().
| E void do_quit | ( | const char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 854 of file users.c.
References alog(), debug, del_session(), delete_user(), finduser(), nickcore_::flags, user_::host, is_ulined(), nickalias_::last_quit, nickalias_::last_seen, LimitSessions, merge_args(), user_::na, server_::name, nickalias_::nc, NI_SUSPENDED, NS_IDENTIFIED, NS_RECOGNIZED, NS_VERBOTEN, user_::server, sstrdup(), and nickalias_::status.
Referenced by anope_event_quit().
| E int do_randomnews | ( | User * | u | ) |
Definition at line 351 of file news.c.
References do_news(), and NEWS_RANDOM.
Referenced by AnopeInit().
| E void do_restart_services | ( | void | ) |
Added to allow do_restart from operserv access to the static functions without making them fair game to every other function - not exactly ideal :|
Definition at line 279 of file main.c.
References expire_all(), readonly, save_databases(), and services_restart().
Referenced by do_restart().
| E void do_server | ( | const char * | source, | |
| char * | servername, | |||
| char * | hops, | |||
| char * | descript, | |||
| char * | numeric | |||
| ) |
Handle adding the server to the Server struct
| source | Name of the uplink if any | |
| servername | Name of the server being linked | |
| hops | Number of hops to reach this server | |
| descript | Description of the server | |
| numeric | Server Numberic/SUID |
Definition at line 360 of file servers.c.
References alog(), debug, EVENT_SERVER_CONNECT, fatal(), findserver(), findserver_uid(), ircd, new_server(), send_event(), ircdvars_::ts6, and UseTS6.
Referenced by anope_event_server(), and anope_event_sid().
| E int do_session | ( | User * | u | ) |
Definition at line 113 of file sessions.c.
References session_::count, DefSessionLimit, find_host_exception(), findsession(), session_::host, LimitSessions, session_::next, notice_lang(), s_OperServ, stricmp(), and syntax_error().
Referenced by AnopeInit().
| E int do_setmodes | ( | User * | u | ) |
Definition at line 1934 of file nickserv.c.
References c, chan_set_correct_modes(), user_::chans, and user_::u_chanlist::next.
Referenced by do_identify(), and do_nickupdate().
| E void do_sjoin | ( | const char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 801 of file channels.c.
References add_ban(), add_exception(), add_invite(), alog(), anope_cmd_kick(), anope_cmd_mode(), anope_cmd_part(), base64dects(), chaninfo_::bi, bot_join(), c, chan_set_correct_modes(), chan_set_modes(), ircdvars_::chanreg, ircdvars_::chansqline, check_chan_sqline(), check_kick(), channel_::ci, channel_::creation_time, csmodes, cumodes, debug, EVENT_JOIN_CHANNEL, EVENT_START, EVENT_STOP, find_byuid(), findchan(), findserver(), findserver_uid(), finduser(), ircd, is_oper(), is_sync(), join_user_update(), channel_::mode, myStrGetToken(), channel_::name, channel_::c_userlist::next, user_::nick, botinfo_::nick, ircdvars_::regmode, restore_topic(), s_OperServ, send_event(), servlist, ircdvars_::sjb64, ircdvars_::sjoinbanchar, ircdvars_::sjoinexchar, ircdvars_::sjoininvchar, sstrdup(), channel_::topic_sync, ircdvars_::ts6, channel_::users, UseTS6, and whosends.
Referenced by anope_event_fjoin(), anope_event_join(), and anope_event_sjoin().
| E void do_squit | ( | const char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Handle removing the server from the Server struct
| source | Name of the server leaving | |
| ac | Number of arguments in av | |
| av | Agruments as part of the SQUIT |
Definition at line 398 of file servers.c.
References alog(), anope_cmd_global(), anope_cmd_squit(), BUFSIZE, debug, delete_server(), EVENT_SERVER_SQUIT, findserver(), findserver_uid(), server_::flags, ircd, ircdcap, server_::name, s_OperServ, send_event(), SERVER_JUPED, snprintf(), ircdvars_::ts6, ircdcapab_::unconnect, server_::uplink, uplink_capab, and UseTS6.
Referenced by anope_event_rsquit(), and anope_event_squit().
| E void do_topic | ( | const char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 1247 of file channels.c.
References alog(), base64dects(), c, check_topiclock(), channel_::ci, debug, EVENT_TOPIC_UPDATED, findchan(), ircd, is_sync(), chaninfo_::last_topic, chaninfo_::last_topic_setter, merge_args(), myStrGetToken(), record_topic(), send_event(), serv_uplink, ircdvars_::sjb64, sstrdup(), strscpy(), channel_::topic, channel_::topic_setter, channel_::topic_sync, and channel_::topic_time.
Referenced by anope_event_ftopic(), anope_event_tburst(), and anope_event_topic().
| E void do_umode | ( | const char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 816 of file users.c.
References alog(), anope_set_umode(), finduser(), and merge_args().
Referenced by anope_event_mode().
| E void do_umode2 | ( | const char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 834 of file users.c.
References alog(), anope_set_umode(), finduser(), and merge_args().
Referenced by anope_event_mode(), and anope_event_umode2().
| E void doCleanBuffer | ( | char * | str | ) |
Clean up the buffer for extra spaces
| str | to clean up |
Definition at line 800 of file misc.c.
References issp.
Referenced by event_message_process(), and process().
| E int dotime | ( | const char * | s | ) |
dotime: Return the number of seconds corresponding to the given time string. If the given string does not represent a valid time, return -1.
A time string is either a plain integer (representing a number of seconds), or an integer followed by one of these characters: "s" (seconds), "m" (minutes), "h" (hours), or "d" (days).
| s | String to convert |
Definition at line 364 of file misc.c.
Referenced by AnopeInit(), do_akill(), do_chankill(), do_exception(), do_ignoreuser(), do_nick(), do_sgline(), do_sqline(), do_szline(), do_tban(), main(), parse_directive(), and resetDefCon().
| E int doValidHost | ( | const char * | host, | |
| int | type | |||
| ) |
Validate the host shortname = ( letter / digit ) *( letter / digit / "-" ) *( letter / digit ) hostname = shortname *( "." shortname ) ip4addr = 1*3digit "." 1*3digit "." 1*3digit "." 1*3digit
| host | = string to check | |
| type | = format, 1 = ip4addr, 2 = hostname |
Ultimate3 dosnt like a non-dotted hosts at all, nor does unreal, so just dont allow them.
Definition at line 529 of file misc.c.
References HOSTMAX.
Referenced by isValidHost().
| E char* duration | ( | NickAlias * | na, | |
| char * | buf, | |||
| int | bufsize, | |||
| time_t | seconds | |||
| ) |
Expresses in a string the period of time represented by a given amount of seconds (with days/hours/minutes).
| na | Nick Alias | |
| buf | buffer to store result into | |
| bufsize | Size of the buffer | |
| seconds | time in seconds |
Definition at line 402 of file misc.c.
References getstring, and snprintf().
Referenced by do_fantasy(), do_recover(), and myHelpResonse().
Find a entry identical to the given mask..
| list | EntryList that should be matched against | |
| mask | The *!*@* mask to match |
Definition at line 2454 of file channels.c.
References c_elist::entries, c_elist_entry::mask, c_elist_entry::next, and stricmp().
Referenced by del_ban(), del_exception(), and del_invite().
Match a nick, user, host, and ip to a list entry
| e | List that should be matched against | |
| nick | The nick to match | |
| user | The user to match | |
| host | The host to match | |
| ip | The ip to match |
Definition at line 2334 of file channels.c.
References c_elist::entries, entry_match(), and c_elist_entry::next.
Referenced by _elist_match_user(), and elist_match_mask().
Match a mask and ip to a list.
| list | EntryList that should be matched against | |
| mask | The nick!user mask to match | |
| ip | The ip to match |
Definition at line 2358 of file channels.c.
References elist_match(), c_elist::entries, and sstrdup().
Referenced by is_excepted_mask().
Definition at line 2438 of file channels.c.
References _elist_match_user().
Referenced by is_excepted().
Definition at line 2443 of file channels.c.
References _elist_match_user().
| E int enc_check_password | ( | const char * | plaintext, | |
| const char * | password | |||
| ) |
Check an input password `plaintext' against a stored, encrypted password `password'. Return value is: 1 if the password matches 0 if the password does not match -1 if an error occurred while checking
Definition at line 95 of file encrypt.c.
References encryption_::check_password.
Referenced by do_ghost(), do_group(), do_identify(), do_recover(), and do_release().
| E int enc_decrypt | ( | const char * | src, | |
| char * | dest, | |||
| int | size | |||
| ) |
Decrypt encrypted string `src' into buffer `dest' of length `len'. Returns 1 (not 0) on success, 0 if the encryption algorithm does not allow decryption, and -1 if another failure occurred (e.g. destination buffer too small).
Definition at line 80 of file encrypt.c.
References encryption_::decrypt.
Referenced by db_mysql_secure(), do_confirm(), do_getpass(), do_register(), do_saset_password(), do_sendpass(), and do_set_password().
| E int enc_encrypt | ( | const char * | src, | |
| int | len, | |||
| char * | dest, | |||
| int | size | |||
| ) |
Encrypt string `src' of length `len', placing the result in buffer `dest' of size `size'. Returns 0 on success, -1 on error.
Definition at line 50 of file encrypt.c.
References encryption_::encrypt.
Referenced by do_register(), do_saset_password(), do_set_password(), and load_ns_req_db().
| E int enc_encrypt_check_len | ( | int | passlen, | |
| int | bufsize | |||
| ) |
Check whether the result of encrypting a password of length `passlen' will fit in a buffer of size `bufsize'. Returns 0 if the encrypted password would fit in the buffer, otherwise returns the maximum length password that would fit (this value will be smaller than `passlen'). If the result of encrypting even a 1-byte password would exceed the specified buffer size, generates a fatal error.
Definition at line 66 of file encrypt.c.
References encryption_::encrypt_check_len.
Referenced by do_register(), do_saset_password(), and do_set_password().
| E void encmodule_check_password | ( | int(*)(const char *plaintext, const char *password) | func | ) |
Definition at line 36 of file encrypt.c.
References encryption_::check_password.
Referenced by AnopeFini(), and AnopeInit().
| E void encmodule_decrypt | ( | int(*)(const char *src, char *dest, int size) | func | ) |
Definition at line 31 of file encrypt.c.
References encryption_::decrypt.
Referenced by AnopeFini(), and AnopeInit().
| E void encmodule_encrypt | ( | int(*)(const char *src, int len, char *dest, int size) | func | ) |
Definition at line 20 of file encrypt.c.
References encryption_::encrypt.
Referenced by AnopeFini(), and AnopeInit().
| E void encmodule_encrypt_check_len | ( | int(*)(int passlen, int bufsize) | func | ) |
Definition at line 26 of file encrypt.c.
References encryption_::encrypt_check_len.
Referenced by AnopeFini(), and AnopeInit().
| E char* encode_ip | ( | unsigned char * | ip | ) |
Definition at line 283 of file base64.c.
References b64_encode(), and str_signed().
| E void EnforceQlinedNick | ( | char * | nick, | |
| char * | killer | |||
| ) |
Kill the user to enforce the sqline
| nick | to kill | |
| killer | whom is doing the killing |
Definition at line 837 of file misc.c.
References alog(), finduser(), user_::host, kill_user(), user_::nick, and user_::username.
Referenced by bahamut_cmd_bot_nick(), bahamut_cmd_nick(), charybdis_cmd_bot_nick(), charybdis_cmd_nick(), do_bot(), dreamforge_cmd_bot_nick(), dreamforge_cmd_nick(), hybrid_cmd_bot_nick(), hybrid_cmd_nick(), plexus_cmd_bot_nick(), plexus_cmd_nick(), ptlink_cmd_bot_nick(), ptlink_cmd_nick(), rageircd_cmd_bot_nick(), rageircd_cmd_nick(), ratbox_cmd_bot_nick(), ratbox_cmd_nick(), shadowircd_cmd_bot_nick(), shadowircd_cmd_nick(), solidircd_cmd_bot_nick(), solidircd_cmd_nick(), ultimate2_cmd_bot_nick(), ultimate2_cmd_nick(), ultimate3_cmd_bot_nick(), ultimate3_cmd_nick(), unreal_cmd_bot_nick(), unreal_cmd_nick(), viagra_cmd_bot_nick(), and viagra_cmd_nick().
Create an entry and add it at the beginning of given list.
| list | The List the mask should be added to | |
| mask | The mask to parse and add to the list |
Definition at line 2176 of file channels.c.
References c_elist::count, c_elist::entries, entry_create(), c_elist_entry::next, c_elist_entry::prev, and sstrdup().
Referenced by add_ban(), add_exception(), and add_invite().
| E Entry* entry_create | ( | char * | mask | ) |
This handles creating a new Entry. This function destroys and free's the given mask as a side effect.
| mask | Host/IP/CIDR mask to convert to an entry |
Definition at line 2076 of file channels.c.
References c_elist_entry::cidr_ip, c_elist_entry::cidr_mask, ircdvars_::cidrchanbei, c_elist_entry::host, ircd, c_elist_entry::mask, c_elist_entry::next, c_elist_entry::nick, c_elist_entry::prev, scalloc(), sstrdup(), str_is_cidr(), str_is_pure_wildcard(), str_is_wildcard(), c_elist_entry::type, and c_elist_entry::user.
Referenced by entry_add().
Delete the given entry from a given list.
| list | Linked list from which entry needs to be removed. | |
| e | The entry to be deleted, must be member of list. |
Definition at line 2204 of file channels.c.
References c_elist::count, c_elist::entries, c_elist_entry::host, c_elist_entry::mask, c_elist_entry::next, c_elist_entry::nick, c_elist_entry::prev, and c_elist_entry::user.
Referenced by add_ban(), chan_delete(), del_ban(), del_exception(), and del_invite().
Match the given Entry to the given user/host and optional IP addy
| e | Entry struct to match against | |
| nick | Nick to match against | |
| user | User to match against | |
| host | Host to match against | |
| ip | IP to match against, set to 0 to not match this |
Definition at line 2255 of file channels.c.
References c_elist_entry::cidr_ip, c_elist_entry::cidr_mask, ircdvars_::cidrchanbei, ENTRYTYPE_CIDR4, ENTRYTYPE_HOST, ENTRYTYPE_HOST_WILD, ENTRYTYPE_NICK, ENTRYTYPE_NICK_WILD, ENTRYTYPE_NONE, ENTRYTYPE_USER, ENTRYTYPE_USER_WILD, c_elist_entry::host, ircd, match_wild_nocase(), c_elist_entry::nick, stricmp(), c_elist_entry::type, and c_elist_entry::user.
Referenced by _common_unban(), add_ban(), bot_join(), elist_match(), and entry_match_mask().
Match the given Entry to the given hostmask and optional IP addy.
| e | Entry struct to match against | |
| mask | Hostmask to match against | |
| ip | IP to match against, set to 0 to not match this |
Definition at line 2293 of file channels.c.
References entry_match(), and sstrdup().
Referenced by stick_mask().
| E void event_message_process | ( | char * | eventbuf | ) |
Definition at line 83 of file events.c.
References current, doCleanBuffer(), find_event(), findModule(), EvtMessage_::func, MOD_CONT, mod_current_module, mod_current_module_name, EvtMessage_::mod_name, EvtMessage_::next, split_buf(), and strscpy().
Referenced by eventprintf().
| E void event_process_hook | ( | const char * | name, | |
| int | argc, | |||
| char ** | argv | |||
| ) |
Definition at line 153 of file events.c.
References current, find_eventhook(), findModule(), EvtHook_::func, MOD_CONT, mod_current_evtbuffer, mod_current_module, mod_current_module_name, EvtHook_::mod_name, and EvtHook_::next.
Referenced by send_event().
| E void eventprintf | ( | char * | fmt, | |
| ... | ||||
| ) |
Definition at line 66 of file events.c.
References event_message_process(), sstrdup(), and vsnprintf().
Referenced by vsend_cmd().
| E int exception_add | ( | User * | u, | |
| const char * | mask, | |||
| const int | limit, | |||
| const char * | reason, | |||
| const char * | who, | |||
| const time_t | expires | |||
| ) |
Definition at line 509 of file sessions.c.
References exception_::expires, exception_::limit, exception_::mask, nexceptions, NICKMAX, notice_lang(), exception_::num, exception_::reason, s_OperServ, srealloc(), sstrdup(), stricmp(), strscpy(), and exception_::time.
Referenced by do_exception().
| E void expire_akills | ( | void | ) |
Definition at line 912 of file operserv.c.
References anope_cmd_global(), slist_::count, akill_::expires, akill_::host, slist_::list, s_OperServ, slist_delete(), akill_::user, and WallAkillExpire.
Referenced by expire_all().
| E void expire_all | ( | void | ) |
Definition at line 102 of file main.c.
References alog(), debug, EVENT_DB_EXPIRE, EVENT_START, EVENT_STOP, expire_akills(), expire_chans(), expire_exceptions(), expire_nicks(), expire_requests(), expire_sglines(), expire_sqlines(), expire_szlines(), ircd, noexpire, readonly, send_event(), ircdvars_::sgline, skeleton, ircdvars_::sqline, ircdvars_::szline, and waiting.
Referenced by do_restart_services(), main(), and sighandler().
| E void expire_chans | ( | void | ) |
Definition at line 1785 of file chanserv.c.
References alog(), chaninfo_::c, CI_NO_EXPIRE, CI_SUSPENDED, CI_VERBOTEN, CSExpire, delchan(), nickcore_::display, EVENT_CHAN_EXPIRE, chaninfo_::founder, chaninfo_::last_used, chaninfo_::name, chaninfo_::next, and send_event().
Referenced by expire_all().
| E void expire_exceptions | ( | void | ) |
Definition at line 328 of file sessions.c.
References anope_cmd_global(), nexceptions, s_OperServ, srealloc(), and WallExceptionExpire.
Referenced by do_exception(), and expire_all().
| E char* expire_left | ( | NickAlias * | na, | |
| char * | buf, | |||
| int | len, | |||
| time_t | expires | |||
| ) |
Generates a human readable string of type "expires in ..."
| na | Nick Alias | |
| buf | buffer to store result into | |
| bufsize | Size of the buffer | |
| seconds | time in seconds |
Definition at line 470 of file misc.c.
References getstring, and snprintf().
Referenced by akill_view(), exception_view(), sgline_view(), sqline_view(), and szline_view().
| E void expire_nicks | ( | void | ) |
Definition at line 1156 of file nickserv.c.
References alog(), debug, delnick(), nickcore_::display, nickcore_::email, EVENT_NICK_EXPIRE, nickcore_::flags, nickalias_::last_seen, nickalias_::nc, nickalias_::next, NI_SECURE, NI_SUSPENDED, nickalias_::nick, nick_identified(), nick_recognized(), NS_NO_EXPIRE, NS_VERBOTEN, NSExpire, send_event(), sstrdup(), nickalias_::status, and nickalias_::u.
Referenced by expire_all().
| E void expire_requests | ( | void | ) |
Definition at line 1192 of file nickserv.c.
References alog(), delnickrequest(), nickrequest_::next, nickrequest_::nick, NSRExpire, and nickrequest_::requested.
Referenced by expire_all().
| E void expire_sglines | ( | void | ) |
Definition at line 1103 of file operserv.c.
References anope_cmd_global(), slist_::count, sxline_::expires, slist_::list, sxline_::mask, s_OperServ, slist_delete(), and WallSGLineExpire.
Referenced by expire_all().
| E void expire_sqlines | ( | void | ) |
Definition at line 1323 of file operserv.c.
References anope_cmd_global(), slist_::count, sxline_::expires, slist_::list, sxline_::mask, s_OperServ, slist_delete(), and WallSQLineExpire.
Referenced by expire_all().
| E void expire_szlines | ( | void | ) |
Definition at line 1495 of file operserv.c.
References anope_cmd_global(), slist_::count, sxline_::expires, slist_::list, sxline_::mask, s_OperServ, slist_delete(), and WallSZLineExpire.
Referenced by expire_all().
| E void E void E void fatal | ( | const char * | fmt, | |
| ... | ||||
| ) |
Referenced by add_ban(), add_exception(), add_invite(), addCommand(), addEventHandler(), addEventHook(), addMessage(), addModule(), createCommand(), createEventHandler(), createEventHook(), createMessage(), createModule(), db_mysql_save_cs_info(), db_mysql_save_ns_core(), do_server(), init_secondary(), introduce_user(), lang_init(), load_bs_dbase(), load_cs_dbase(), load_exceptions(), load_hs_dbase_v1(), load_hs_dbase_v2(), load_hs_dbase_v3(), load_news(), load_ns_dbase(), load_ns_req_db(), load_old_ns_dbase(), md5_encrypt_check_len(), old_encrypt_check_len(), and sha1_encrypt_check_len().
| E void E void E void E void fatal_perror | ( | const char * | fmt, | |
| ... | ||||
| ) |
Referenced by init_secondary().
| E User* find_byuid | ( | const char * | uid | ) |
Definition at line 378 of file users.c.
References alog(), debug, first_uid(), next_uid(), stricmp(), and user_::uid.
Referenced by anope_event_away(), anope_event_chghost(), anope_event_chgident(), anope_event_chgname(), anope_event_encap(), anope_event_kill(), anope_event_metadata(), anope_event_mode(), anope_event_nick(), anope_event_opertype(), anope_event_part(), anope_event_privmsg(), anope_event_quit(), anope_event_sethost(), anope_event_setident(), anope_event_setname(), anope_event_topic(), chan_set_modes(), do_join(), do_kick(), do_nick(), do_part(), do_sjoin(), m_away(), m_motd(), m_stats(), m_time(), m_version(), m_whois(), and my_privmsg().
| E Exception* find_host_exception | ( | const char * | host | ) |
Definition at line 351 of file sessions.c.
References match_wild_nocase(), and nexceptions.
Referenced by do_session().
| E Exception* find_hostip_exception | ( | const char * | host, | |
| const char * | hostip | |||
| ) |
Definition at line 366 of file sessions.c.
References ircd, match_wild_nocase(), nexceptions, and ircdvars_::nickip.
Referenced by add_session().
| E Uid* find_nickuid | ( | const char * | uid | ) |
Definition at line 468 of file users.c.
References uid_::next, stricmp(), and uid_::uid.
Referenced by anope_event_idle(), anope_event_kill(), anope_event_privmsg(), anope_event_whois(), do_kick(), and findbot().
| E Uid* find_uid | ( | const char * | nick | ) |
Definition at line 453 of file users.c.
References uid_::next, uid_::nick, and stricmp().
Referenced by charybdis_cmd_akill(), charybdis_cmd_bot_chan_mode(), charybdis_cmd_chg_nick(), charybdis_cmd_global(), charybdis_cmd_global_legacy(), charybdis_cmd_invite(), charybdis_cmd_join(), charybdis_cmd_kick(), charybdis_cmd_mode(), charybdis_cmd_notice(), charybdis_cmd_notice2(), charybdis_cmd_notice_ops(), charybdis_cmd_part(), charybdis_cmd_privmsg(), charybdis_cmd_privmsg2(), charybdis_cmd_quit(), charybdis_cmd_remove_akill(), charybdis_cmd_sgline(), charybdis_cmd_sqline(), charybdis_cmd_svskill(), charybdis_cmd_topic(), charybdis_cmd_unsgline(), charybdis_cmd_unsqline(), inspircd_cmd_chg_nick(), inspircd_cmd_chghost(), inspircd_cmd_chgident(), inspircd_cmd_ctcp(), inspircd_cmd_global(), inspircd_cmd_global_legacy(), inspircd_cmd_invite(), inspircd_cmd_join(), inspircd_cmd_kick(), inspircd_cmd_mode(), inspircd_cmd_notice(), inspircd_cmd_notice2(), inspircd_cmd_notice_ops(), inspircd_cmd_part(), 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_svshold(), inspircd_cmd_svsjoin(), inspircd_cmd_svskill(), inspircd_cmd_svsmode(), inspircd_cmd_svspart(), inspircd_cmd_topic(), my_privmsg(), ratbox_cmd_akill(), ratbox_cmd_bot_chan_mode(), ratbox_cmd_chg_nick(), ratbox_cmd_global(), ratbox_cmd_global_legacy(), ratbox_cmd_invite(), ratbox_cmd_join(), ratbox_cmd_kick(), ratbox_cmd_mode(), ratbox_cmd_notice(), ratbox_cmd_notice2(), ratbox_cmd_part(), ratbox_cmd_privmsg(), ratbox_cmd_privmsg2(), ratbox_cmd_quit(), ratbox_cmd_remove_akill(), ratbox_cmd_sgline(), ratbox_cmd_sqline(), ratbox_cmd_svskill(), ratbox_cmd_topic(), ratbox_cmd_unsgline(), ratbox_cmd_unsqline(), shadowircd_cmd_akill(), shadowircd_cmd_bot_chan_mode(), shadowircd_cmd_chg_nick(), shadowircd_cmd_global(), shadowircd_cmd_global_legacy(), shadowircd_cmd_invite(), shadowircd_cmd_join(), shadowircd_cmd_kick(), shadowircd_cmd_mode(), shadowircd_cmd_notice(), shadowircd_cmd_notice2(), shadowircd_cmd_part(), shadowircd_cmd_privmsg(), shadowircd_cmd_privmsg2(), shadowircd_cmd_quit(), shadowircd_cmd_remove_akill(), shadowircd_cmd_svskill(), and shadowircd_cmd_topic().
| BotInfo * findbot | ( | char * | nick | ) |
Definition at line 1989 of file db-merger.c.
References find_nickuid(), ircd, mystricmp(), botinfo_::next, uid_::nick, botinfo_::nick, stricmp(