Anope IRC Services  Version 1.8
Functions | Variables
inspircd12.c File Reference
#include "services.h"
#include "pseudo.h"
#include "inspircd12.h"
#include "version.h"
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
Include dependency graph for inspircd12.c:

Go to the source code of this file.

Functions

void inspircd_set_umode (User *user, int ac, char **av)
 
void moduleAddIRCDMsgs (void)
 
void inspircd_cmd_svsnoop (char *server, int set)
 
void inspircd_cmd_svsadmin (char *server, int set)
 
void inspircd_cmd_remove_akill (char *user, char *host)
 
void inspircd_cmd_topic (char *whosets, char *chan, char *whosetit, char *topic, time_t when)
 
void inspircd_cmd_vhost_off (User *u)
 
void inspircd_cmd_akill (char *user, char *host, char *who, time_t when, time_t expires, char *reason)
 
void inspircd_cmd_svskill (char *source, char *user, char *buf)
 
void inspircd_cmd_svsmode (User *u, int ac, char **av)
 
void inspircd_cmd_372 (char *source, char *msg)
 
void inspircd_cmd_372_error (char *source)
 
void inspircd_cmd_375 (char *source)
 
void inspircd_cmd_376 (char *source)
 
void inspircd_cmd_nick (char *nick, char *name, char *modes)
 
void inspircd_cmd_guest_nick (char *nick, char *user, char *host, char *real, char *modes)
 
void inspircd_cmd_mode (char *source, char *dest, char *buf)
 
int anope_event_version (char *source, int ac, char **av)
 
int anope_event_idle (char *source, int ac, char **av)
 
int anope_event_ftopic (char *source, int ac, char **av)
 
int anope_event_opertype (char *source, int ac, char **av)
 
int anope_event_fmode (char *source, int ac, char **av)
 
int anope_event_fjoin (char *source, int ac, char **av)
 
void inspircd_cmd_bot_nick (char *nick, char *user, char *host, char *real, char *modes)
 
void inspircd_cmd_kick (char *source, char *chan, char *user, char *buf)
 
void inspircd_cmd_notice_ops (char *source, char *dest, char *buf)
 
void inspircd_cmd_notice (char *source, char *dest, char *buf)
 
void inspircd_cmd_notice2 (char *source, char *dest, char *msg)
 
void inspircd_cmd_privmsg (char *source, char *dest, char *buf)
 
void inspircd_cmd_privmsg2 (char *source, char *dest, char *msg)
 
void inspircd_cmd_serv_notice (char *source, char *dest, char *msg)
 
void inspircd_cmd_serv_privmsg (char *source, char *dest, char *msg)
 
void inspircd_cmd_bot_chan_mode (char *nick, char *chan)
 
void inspircd_cmd_351 (char *source)
 
void inspircd_cmd_quit (char *source, char *buf)
 
void inspircd_cmd_protoctl ()
 
void inspircd_cmd_pass (char *pass)
 
void inspircd_cmd_server (char *servname, int hop, char *descript, char *sid)
 
void inspircd_cmd_pong (char *servname, char *who)
 
void inspircd_cmd_join (char *user, char *channel, time_t chantime)
 
void inspircd_cmd_unsqline (char *user)
 
void inspircd_cmd_chghost (char *nick, char *vhost)
 
void inspircd_cmd_chgident (char *nick, char *vIdent)
 
void inspircd_cmd_invite (char *source, char *chan, char *nick)
 
void inspircd_cmd_part (char *nick, char *chan, char *buf)
 
void inspircd_cmd_391 (char *source, char *buf)
 
void inspircd_cmd_250 (char *buf)
 
void inspircd_cmd_307 (char *buf)
 
void inspircd_cmd_311 (char *buf)
 
void inspircd_cmd_312 (char *buf)
 
void inspircd_cmd_317 (char *buf)
 
void inspircd_cmd_219 (char *source, char *letter)
 
void inspircd_cmd_401 (char *source, char *who)
 
void inspircd_cmd_318 (char *source, char *who)
 
void inspircd_cmd_242 (char *buf)
 
void inspircd_cmd_243 (char *buf)
 
void inspircd_cmd_211 (char *buf)
 
void inspircd_cmd_global (char *source, char *buf)
 
void inspircd_cmd_sqline (char *mask, char *reason)
 
void inspircd_cmd_squit (char *servname, char *message)
 
void inspircd_cmd_svso (char *source, char *nick, char *flag)
 
void inspircd_cmd_chg_nick (char *oldnick, char *newnick)
 
void inspircd_cmd_svsnick (char *source, char *guest, time_t when)
 
void inspircd_cmd_vhost_on (char *nick, char *vIdent, char *vhost)
 
void inspircd_cmd_connect (int servernum)
 
void inspircd_cmd_bob ()
 
int anope_event_ping (char *source, int ac, char **av)
 
int anope_event_436 (char *source, int ac, char **av)
 
int anope_event_away (char *source, int ac, char **av)
 
int anope_event_topic (char *source, int ac, char **av)
 
int anope_event_squit (char *source, int ac, char **av)
 
int anope_event_rsquit (char *source, int ac, char **av)
 
int anope_event_quit (char *source, int ac, char **av)
 
int anope_event_mode (char *source, int ac, char **av)
 
int anope_event_kill (char *source, int ac, char **av)
 
int anope_event_kick (char *source, int ac, char **av)
 
int anope_event_join (char *source, int ac, char **av)
 
int anope_event_motd (char *source, int ac, char **av)
 
int anope_event_setname (char *source, int ac, char **av)
 
int anope_event_chgname (char *source, int ac, char **av)
 
int anope_event_setident (char *source, int ac, char **av)
 
int anope_event_chgident (char *source, int ac, char **av)
 
int anope_event_sethost (char *source, int ac, char **av)
 
int anope_event_nick (char *source, int ac, char **av)
 
int anope_event_uid (char *source, int ac, char **av)
 
int anope_event_metadata (char *source, int ac, char **av)
 
int anope_event_burst (char *source, int ac, char **av)
 
int anope_event_eob (char *source, int ac, char **av)
 
int anope_event_chghost (char *source, int ac, char **av)
 
int anope_event_server (char *source, int ac, char **av)
 
int anope_event_privmsg (char *source, int ac, char **av)
 
int anope_event_part (char *source, int ac, char **av)
 
int anope_event_whois (char *source, int ac, char **av)
 
int anope_event_capab (char *source, int ac, char **av)
 
void inspircd_cmd_svshold (char *nick)
 
void inspircd_cmd_release_svshold (char *nick)
 
void inspircd_cmd_unsgline (char *mask)
 
void inspircd_cmd_unszline (char *mask)
 
void inspircd_cmd_szline (char *mask, char *reason, char *whom)
 
void inspircd_cmd_sgline (char *mask, char *reason)
 
void inspircd_cmd_unban (char *name, char *nick)
 
void inspircd_cmd_svsmode_chan (char *name, char *mode, char *nick)
 
void inspircd_cmd_svid_umode (char *nick, time_t ts)
 
void inspircd_cmd_nc_change (User *u)
 
void inspircd_cmd_svid_umode2 (User *u, char *ts)
 
void inspircd_cmd_svid_umode3 (User *u, char *ts)
 
void inspircd_cmd_svsjoin (char *source, char *nick, char *chan, char *param)
 
void inspircd_cmd_svspart (char *source, char *nick, char *chan)
 
void inspircd_cmd_swhois (char *source, char *who, char *mask)
 
void inspircd_cmd_eob ()
 
int anope_event_rehash (char *source, int ac, char **av)
 
int anope_event_credits (char *source, int ac, char **av)
 
int anope_event_admin (char *source, int ac, char **av)
 
int inspircd_flood_mode_check (char *value)
 
void inspircd_cmd_jupe (char *jserver, char *who, char *reason)
 
void inspircd_cmd_global_legacy (char *source, char *fmt)
 
int inspircd_valid_nick (char *nick)
 
int inspircd_valid_chan (char *chan)
 
void inspircd_cmd_ctcp (char *source, char *dest, char *buf)
 
int inspircd_jointhrottle_mode_check (char *value)
 
int anope_event_time (char *source, int ac, char **av)
 
int is_sid (char *sid)
 
void ts6_sid_increment (unsigned pos)
 
char * ts6_sid_retrieve ()
 
void moduleAddAnopeCmds ()
 
int AnopeInit (int argc, char **argv)
 

Variables

IRCDVar myIrcd []
 
IRCDCAPAB myIrcdcap []
 
unsigned long umodes [128]
 
char myCsmodes [128]
 
CMMode myCmmodes [128]
 
CBMode myCbmodes [128]
 
CBModeInfo myCbmodeinfos []
 
CUMode myCumodes [128]
 
static int burst = 0
 
Useru_intro_regged = NULL
 
static int has_servicesmod = 0
 
static int has_globopsmod = 0
 
static int has_svsholdmod = 0
 
static int has_chghostmod = 0
 
static int has_chgidentmod = 0
 
static int has_messagefloodmod = 0
 
static int has_banexceptionmod = 0
 
static int has_inviteexceptionmod = 0
 
static int has_joinfloodmod = 0
 
static int has_hidechansmod = 0
 
static int has_chanprotectmod = 0
 
static int has_halfop = 0
 
static int has_redirectmod = 0
 
static int has_servprotectmod = 0
 
static int has_permchannels = 0
 
static int has_nokicks = 0
 
static int has_stripcolor = 0
 
static int has_nonotice = 0
 
static int has_auditorium = 0
 
static int has_sslmodes = 0
 
static int has_blockcolor = 0
 
static int has_operchans = 0
 
static int has_nonicks = 0
 
static int has_knock = 0
 
static int has_censor = 0
 
static int has_noctcp = 0
 
static int has_allowinvite = 0
 
static int has_blockcaps = 0
 
static int has_nickflood = 0
 
static int has_chanfilter = 0
 
static int has_kicknorejoin = 0
 
static int has_cloaking = 0
 
static char currentpass [1024]
 
static int ts6_sid_initted = 0
 
static char ts6_new_sid [4]
 

Function Documentation

int anope_event_436 ( char *  source,
int  ac,
char **  av 
)

Definition at line 1397 of file inspircd12.c.

References m_nickcoll(), and MOD_CONT.

Referenced by moduleAddIRCDMsgs().

int anope_event_admin ( char *  source,
int  ac,
char **  av 
)

Definition at line 2425 of file inspircd12.c.

References MOD_CONT.

Referenced by moduleAddIRCDMsgs().

int anope_event_away ( char *  source,
int  ac,
char **  av 
)

Definition at line 1406 of file inspircd12.c.

References find_byuid(), m_away(), MOD_CONT, and user_::nick.

Referenced by moduleAddIRCDMsgs().

int anope_event_burst ( char *  source,
int  ac,
char **  av 
)

Definition at line 1812 of file inspircd12.c.

References burst, and MOD_CONT.

Referenced by moduleAddIRCDMsgs().

int anope_event_capab ( char *  source,
int  ac,
char **  av 
)

Definition at line 1912 of file inspircd12.c.

References 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, CMODE_A, CMODE_B, CMODE_C, CMODE_c, CMODE_f, CMODE_F, CMODE_g, CMODE_G, CMODE_j, CMODE_J, CMODE_K, CMODE_L, CMODE_N, CMODE_O, CMODE_P, CMODE_Q, CMODE_S, CMODE_T, CMODE_u, CMODE_z, cs_get_flood(), cs_get_redirect(), cs_get_throttle(), cs_get_unkwn(), cs_set_flood(), cs_set_redirect(), cs_set_throttle(), cs_set_unkwn(), cbmodeinfo_::csgetvalue, cbmode_::cssetvalue, DefConChanModes, DefConLevel, defconParseModeString(), del_exception(), del_invite(), cmmode_::delmask, ircdvars_::devnullmode, ircdvars_::devnullvaliasmode, ircdvars_::except, cbmode_::flag, cbmode_::flags, ircdvars_::fmode, get_flood(), get_redirect(), get_throttle(), get_unkwn(), 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, ircdvars_::jmode, ircdvars_::Lmode, ircdvars_::memoservaliasmode, ircdvars_::memoservmode, MOD_CONT, MOD_STOP, cbmodeinfo_::mode, myCbmodeinfos, ircdvars_::nickservaliasmode, ircdvars_::nickservmode, ircdvars_::noknock, ircdvars_::operservaliasmode, ircdvars_::operservmode, ircdvars_::owner, pmodule_ircd_cbmodeinfos(), pmodule_ircd_cbmodes(), pmodule_ircd_cmmodes(), ircdvars_::protect, quitmsg, quitting, s_OperServ, send_cmd(), set_flood(), set_redirect(), set_unkwn(), cbmode_::setvalue, ircdvars_::svshold, and TS6SID.

Referenced by moduleAddIRCDMsgs().

int anope_event_chghost ( char *  source,
int  ac,
char **  av 
)

Definition at line 1843 of file inspircd12.c.

References alog(), change_user_host(), debug, find_byuid(), and MOD_CONT.

Referenced by moduleAddIRCDMsgs().

int anope_event_chgident ( char *  source,
int  ac,
char **  av 
)

Definition at line 1641 of file inspircd12.c.

References alog(), change_user_username(), debug, find_byuid(), and MOD_CONT.

Referenced by moduleAddIRCDMsgs().

int anope_event_chgname ( char *  source,
int  ac,
char **  av 
)

Definition at line 1603 of file inspircd12.c.

References alog(), change_user_realname(), debug, find_byuid(), and MOD_CONT.

Referenced by moduleAddIRCDMsgs().

int anope_event_credits ( char *  source,
int  ac,
char **  av 
)

Definition at line 2420 of file inspircd12.c.

References MOD_CONT.

Referenced by moduleAddIRCDMsgs().

int anope_event_eob ( char *  source,
int  ac,
char **  av 
)
int anope_event_fjoin ( char *  source,
int  ac,
char **  av 
)

Definition at line 790 of file inspircd12.c.

References alog(), debug, do_sjoin(), merge_args(), MOD_CONT, and myStrGetToken().

Referenced by moduleAddIRCDMsgs().

int anope_event_fmode ( char *  source,
int  ac,
char **  av 
)

Definition at line 743 of file inspircd12.c.

References alog(), anope_event_mode(), c, channel_::creation_time, debug, findchan(), and MOD_CONT.

Referenced by moduleAddIRCDMsgs().

int anope_event_ftopic ( char *  source,
int  ac,
char **  av 
)

Definition at line 715 of file inspircd12.c.

References do_topic(), and MOD_CONT.

Referenced by moduleAddIRCDMsgs().

int anope_event_idle ( char *  source,
int  ac,
char **  av 
)
int anope_event_join ( char *  source,
int  ac,
char **  av 
)

Definition at line 1567 of file inspircd12.c.

References do_join(), and MOD_CONT.

Referenced by moduleAddIRCDMsgs().

int anope_event_kick ( char *  source,
int  ac,
char **  av 
)

Definition at line 1558 of file inspircd12.c.

References do_kick(), and MOD_CONT.

Referenced by moduleAddIRCDMsgs().

int anope_event_kill ( char *  source,
int  ac,
char **  av 
)

Definition at line 1543 of file inspircd12.c.

References find_byuid(), find_nickuid(), m_kill(), MOD_CONT, uid_::nick, and user_::nick.

Referenced by moduleAddIRCDMsgs().

int anope_event_metadata ( char *  source,
int  ac,
char **  av 
)

Definition at line 1749 of file inspircd12.c.

Referenced by moduleAddIRCDMsgs().

int anope_event_mode ( char *  source,
int  ac,
char **  av 
)
int anope_event_motd ( char *  source,
int  ac,
char **  av 
)

Definition at line 1575 of file inspircd12.c.

References m_motd(), and MOD_CONT.

Referenced by moduleAddIRCDMsgs().

int anope_event_nick ( char *  source,
int  ac,
char **  av 
)

Definition at line 1679 of file inspircd12.c.

References do_nick(), and MOD_CONT.

Referenced by moduleAddIRCDMsgs().

int anope_event_opertype ( char *  source,
int  ac,
char **  av 
)

Definition at line 728 of file inspircd12.c.

References anope_event_mode(), find_byuid(), is_oper(), and MOD_CONT.

Referenced by moduleAddIRCDMsgs().

int anope_event_part ( char *  source,
int  ac,
char **  av 
)

Definition at line 1893 of file inspircd12.c.

References do_part(), find_byuid(), MOD_CONT, and user_::nick.

Referenced by moduleAddIRCDMsgs().

int anope_event_ping ( char *  source,
int  ac,
char **  av 
)

Definition at line 1381 of file inspircd12.c.

References BUFSIZE, inspircd_cmd_pong(), MOD_CONT, snprintf(), and TS6SID.

Referenced by moduleAddIRCDMsgs().

int anope_event_privmsg ( char *  source,
int  ac,
char **  av 
)

Definition at line 1880 of file inspircd12.c.

References find_byuid(), find_nickuid(), m_privmsg(), MOD_CONT, uid_::nick, and user_::nick.

Referenced by moduleAddIRCDMsgs().

int anope_event_quit ( char *  source,
int  ac,
char **  av 
)

Definition at line 1498 of file inspircd12.c.

References do_quit(), find_byuid(), MOD_CONT, and user_::nick.

Referenced by moduleAddIRCDMsgs().

int anope_event_rehash ( char *  source,
int  ac,
char **  av 
)

Definition at line 2415 of file inspircd12.c.

References MOD_CONT.

Referenced by moduleAddIRCDMsgs().

int anope_event_rsquit ( char *  source,
int  ac,
char **  av 
)
int anope_event_server ( char *  source,
int  ac,
char **  av 
)

Definition at line 1870 of file inspircd12.c.

References do_server(), MOD_CONT, sstrdup(), stricmp(), and uplink.

Referenced by moduleAddIRCDMsgs().

int anope_event_sethost ( char *  source,
int  ac,
char **  av 
)

Definition at line 1660 of file inspircd12.c.

References alog(), change_user_host(), debug, find_byuid(), and MOD_CONT.

Referenced by moduleAddIRCDMsgs().

int anope_event_setident ( char *  source,
int  ac,
char **  av 
)

Definition at line 1622 of file inspircd12.c.

References alog(), change_user_username(), debug, find_byuid(), and MOD_CONT.

Referenced by moduleAddIRCDMsgs().

int anope_event_setname ( char *  source,
int  ac,
char **  av 
)

Definition at line 1584 of file inspircd12.c.

References alog(), change_user_realname(), debug, find_byuid(), and MOD_CONT.

Referenced by moduleAddIRCDMsgs().

int anope_event_squit ( char *  source,
int  ac,
char **  av 
)
int anope_event_time ( char *  source,
int  ac,
char **  av 
)

Definition at line 2531 of file inspircd12.c.

Referenced by moduleAddIRCDMsgs().

int anope_event_topic ( char *  source,
int  ac,
char **  av 
)
int anope_event_uid ( char *  source,
int  ac,
char **  av 
)

Definition at line 1702 of file inspircd12.c.

Referenced by moduleAddIRCDMsgs().

int anope_event_version ( char *  source,
int  ac,
char **  av 
)

Definition at line 696 of file inspircd12.c.

References MOD_CONT.

Referenced by moduleAddIRCDMsgs().

int anope_event_whois ( char *  source,
int  ac,
char **  av 
)

Definition at line 1904 of file inspircd12.c.

References m_whois(), and MOD_CONT.

Referenced by moduleAddIRCDMsgs().

int AnopeInit ( int  argc,
char **  argv 
)
void inspircd_cmd_211 ( char *  buf)

Definition at line 1258 of file inspircd12.c.

References finduser(), myStrGetToken(), send_cmd(), ServerName, TS6SID, and user_::uid.

Referenced by moduleAddAnopeCmds().

void inspircd_cmd_219 ( char *  source,
char *  letter 
)

Definition at line 1191 of file inspircd12.c.

References finduser(), send_cmd(), ServerName, TS6SID, and user_::uid.

Referenced by moduleAddAnopeCmds().

void inspircd_cmd_242 ( char *  buf)

Definition at line 1224 of file inspircd12.c.

References finduser(), myStrGetToken(), send_cmd(), ServerName, TS6SID, and user_::uid.

Referenced by moduleAddAnopeCmds().

void inspircd_cmd_243 ( char *  buf)

Definition at line 1241 of file inspircd12.c.

References finduser(), myStrGetToken(), send_cmd(), ServerName, TS6SID, and user_::uid.

Referenced by moduleAddAnopeCmds().

void inspircd_cmd_250 ( char *  buf)

Definition at line 1106 of file inspircd12.c.

References finduser(), myStrGetToken(), send_cmd(), ServerName, TS6SID, and user_::uid.

Referenced by moduleAddAnopeCmds().

void inspircd_cmd_307 ( char *  buf)

Definition at line 1123 of file inspircd12.c.

References finduser(), myStrGetToken(), send_cmd(), ServerName, TS6SID, and user_::uid.

Referenced by moduleAddAnopeCmds().

void inspircd_cmd_311 ( char *  buf)

Definition at line 1140 of file inspircd12.c.

References finduser(), myStrGetToken(), send_cmd(), ServerName, TS6SID, and user_::uid.

Referenced by moduleAddAnopeCmds().

void inspircd_cmd_312 ( char *  buf)

Definition at line 1157 of file inspircd12.c.

References finduser(), myStrGetToken(), send_cmd(), ServerName, TS6SID, and user_::uid.

Referenced by moduleAddAnopeCmds().

void inspircd_cmd_317 ( char *  buf)

Definition at line 1174 of file inspircd12.c.

References finduser(), myStrGetToken(), send_cmd(), ServerName, TS6SID, and user_::uid.

Referenced by moduleAddAnopeCmds().

void inspircd_cmd_318 ( char *  source,
char *  who 
)

Definition at line 1214 of file inspircd12.c.

References finduser(), send_cmd(), ServerName, TS6SID, and user_::uid.

Referenced by moduleAddAnopeCmds().

void inspircd_cmd_351 ( char *  source)
void inspircd_cmd_372 ( char *  source,
char *  msg 
)

Definition at line 632 of file inspircd12.c.

References finduser(), send_cmd(), ServerName, TS6SID, and user_::uid.

Referenced by moduleAddAnopeCmds().

void inspircd_cmd_372_error ( char *  source)

Definition at line 639 of file inspircd12.c.

References finduser(), send_cmd(), ServerName, TS6SID, and user_::uid.

Referenced by moduleAddAnopeCmds().

void inspircd_cmd_375 ( char *  source)

Definition at line 647 of file inspircd12.c.

References finduser(), send_cmd(), ServerName, TS6SID, and user_::uid.

Referenced by moduleAddAnopeCmds().

void inspircd_cmd_376 ( char *  source)

Definition at line 655 of file inspircd12.c.

References finduser(), send_cmd(), ServerName, TS6SID, and user_::uid.

Referenced by moduleAddAnopeCmds().

void inspircd_cmd_391 ( char *  source,
char *  buf 
)

Definition at line 1097 of file inspircd12.c.

Referenced by moduleAddAnopeCmds().

void inspircd_cmd_401 ( char *  source,
char *  who 
)

Definition at line 1204 of file inspircd12.c.

References finduser(), send_cmd(), ServerName, TS6SID, and user_::uid.

Referenced by moduleAddAnopeCmds().

void inspircd_cmd_akill ( char *  user,
char *  host,
char *  who,
time_t  when,
time_t  expires,
char *  reason 
)

Definition at line 595 of file inspircd12.c.

References send_cmd(), and TS6SID.

Referenced by moduleAddAnopeCmds().

void inspircd_cmd_bob ( )
void inspircd_cmd_bot_chan_mode ( char *  nick,
char *  chan 
)

Definition at line 964 of file inspircd12.c.

References anope_cmd_mode(), ircdvars_::botchanumode, GET_BOT, and ircd.

Referenced by moduleAddAnopeCmds().

void inspircd_cmd_bot_nick ( char *  nick,
char *  user,
char *  host,
char *  real,
char *  modes 
)

Definition at line 871 of file inspircd12.c.

References new_uid(), send_cmd(), ts6_uid_retrieve(), and TS6SID.

Referenced by moduleAddAnopeCmds().

void inspircd_cmd_chg_nick ( char *  oldnick,
char *  newnick 
)

Definition at line 1316 of file inspircd12.c.

References find_uid(), uid_::nick, NICKMAX, send_cmd(), strscpy(), and uid_::uid.

Referenced by moduleAddAnopeCmds().

void inspircd_cmd_chghost ( char *  nick,
char *  vhost 
)
void inspircd_cmd_chgident ( char *  nick,
char *  vIdent 
)
void inspircd_cmd_connect ( int  servernum)
void inspircd_cmd_ctcp ( char *  source,
char *  dest,
char *  buf 
)

Definition at line 2493 of file inspircd12.c.

References find_uid(), finduser(), normalizeBuffer(), send_cmd(), TS6SID, uid_::uid, and user_::uid.

Referenced by moduleAddAnopeCmds().

void inspircd_cmd_eob ( )

Definition at line 2409 of file inspircd12.c.

References send_cmd(), and TS6SID.

Referenced by moduleAddAnopeCmds().

void inspircd_cmd_global ( char *  source,
char *  buf 
)

Definition at line 1275 of file inspircd12.c.

References find_uid(), has_globopsmod, s_OperServ, send_cmd(), TS6SID, and uid_::uid.

Referenced by moduleAddAnopeCmds().

void inspircd_cmd_global_legacy ( char *  source,
char *  fmt 
)

Definition at line 2468 of file inspircd12.c.

References find_uid(), has_globopsmod, s_OperServ, send_cmd(), and uid_::uid.

Referenced by moduleAddAnopeCmds().

void inspircd_cmd_guest_nick ( char *  nick,
char *  user,
char *  host,
char *  real,
char *  modes 
)

Definition at line 674 of file inspircd12.c.

References new_uid(), send_cmd(), ts6_uid_retrieve(), and TS6SID.

Referenced by moduleAddAnopeCmds().

void inspircd_cmd_invite ( char *  source,
char *  chan,
char *  nick 
)

Definition at line 1066 of file inspircd12.c.

References find_uid(), send_cmd(), TS6SID, and uid_::uid.

Referenced by moduleAddAnopeCmds().

void inspircd_cmd_join ( char *  user,
char *  channel,
time_t  chantime 
)

Definition at line 1018 of file inspircd12.c.

References find_uid(), send_cmd(), TS6SID, and uid_::uid.

Referenced by moduleAddAnopeCmds().

void inspircd_cmd_jupe ( char *  jserver,
char *  who,
char *  reason 
)
void inspircd_cmd_kick ( char *  source,
char *  chan,
char *  user,
char *  buf 
)

Definition at line 883 of file inspircd12.c.

References find_uid(), finduser(), send_cmd(), uid_::uid, and user_::uid.

Referenced by moduleAddAnopeCmds().

void inspircd_cmd_mode ( char *  source,
char *  dest,
char *  buf 
)

Definition at line 683 of file inspircd12.c.

References c, channel_::creation_time, find_uid(), findchan(), send_cmd(), TS6SID, and uid_::uid.

Referenced by moduleAddAnopeCmds().

void inspircd_cmd_nc_change ( User u)

Definition at line 2369 of file inspircd12.c.

References alog(), common_svsmode(), and debug.

Referenced by moduleAddAnopeCmds().

void inspircd_cmd_nick ( char *  nick,
char *  name,
char *  modes 
)

Definition at line 662 of file inspircd12.c.

References new_uid(), send_cmd(), ServiceHost, ServiceUser, ts6_uid_retrieve(), and TS6SID.

Referenced by moduleAddAnopeCmds().

void inspircd_cmd_notice ( char *  source,
char *  dest,
char *  buf 
)
void inspircd_cmd_notice2 ( char *  source,
char *  dest,
char *  msg 
)

Definition at line 921 of file inspircd12.c.

References find_uid(), finduser(), send_cmd(), TS6SID, uid_::uid, and user_::uid.

Referenced by moduleAddAnopeCmds().

void inspircd_cmd_notice_ops ( char *  source,
char *  dest,
char *  buf 
)

Definition at line 896 of file inspircd12.c.

References find_uid(), send_cmd(), TS6SID, and uid_::uid.

Referenced by moduleAddAnopeCmds().

void inspircd_cmd_part ( char *  nick,
char *  chan,
char *  buf 
)

Definition at line 1078 of file inspircd12.c.

References find_uid(), send_cmd(), and uid_::uid.

Referenced by moduleAddAnopeCmds().

void inspircd_cmd_pass ( char *  pass)

Definition at line 999 of file inspircd12.c.

References currentpass.

Referenced by inspircd_cmd_connect().

void inspircd_cmd_pong ( char *  servname,
char *  who 
)

Definition at line 1012 of file inspircd12.c.

References send_cmd().

Referenced by anope_event_ping(), and moduleAddAnopeCmds().

void inspircd_cmd_privmsg ( char *  source,
char *  dest,
char *  buf 
)

Definition at line 929 of file inspircd12.c.

References find_uid(), finduser(), send_cmd(), TS6SID, uid_::uid, and user_::uid.

Referenced by moduleAddAnopeCmds().

void inspircd_cmd_privmsg2 ( char *  source,
char *  dest,
char *  msg 
)

Definition at line 943 of file inspircd12.c.

References find_uid(), finduser(), send_cmd(), TS6SID, uid_::uid, and user_::uid.

Referenced by inspircd_cmd_notice(), and moduleAddAnopeCmds().

void inspircd_cmd_protoctl ( )

Definition at line 992 of file inspircd12.c.

void inspircd_cmd_quit ( char *  source,
char *  buf 
)

Definition at line 980 of file inspircd12.c.

References find_uid(), send_cmd(), and uid_::uid.

Referenced by moduleAddAnopeCmds().

void inspircd_cmd_release_svshold ( char *  nick)

Definition at line 2315 of file inspircd12.c.

References find_uid(), s_OperServ, send_cmd(), and uid_::uid.

Referenced by moduleAddAnopeCmds().

void inspircd_cmd_remove_akill ( char *  user,
char *  host 
)

Definition at line 561 of file inspircd12.c.

References find_uid(), s_OperServ, send_cmd(), and uid_::uid.

Referenced by moduleAddAnopeCmds().

void inspircd_cmd_serv_notice ( char *  source,
char *  dest,
char *  msg 
)

Definition at line 951 of file inspircd12.c.

References find_uid(), send_cmd(), TS6SID, and uid_::uid.

Referenced by moduleAddAnopeCmds().

void inspircd_cmd_serv_privmsg ( char *  source,
char *  dest,
char *  msg 
)

Definition at line 957 of file inspircd12.c.

References find_uid(), send_cmd(), TS6SID, and uid_::uid.

Referenced by moduleAddAnopeCmds().

void inspircd_cmd_server ( char *  servname,
int  hop,
char *  descript,
char *  sid 
)

Definition at line 1005 of file inspircd12.c.

References currentpass, send_cmd(), and TS6SID.

Referenced by anope_event_squit(), inspircd_cmd_connect(), and inspircd_cmd_jupe().

void inspircd_cmd_sgline ( char *  mask,
char *  reason 
)

Definition at line 2341 of file inspircd12.c.

Referenced by moduleAddAnopeCmds().

void inspircd_cmd_sqline ( char *  mask,
char *  reason 
)

Definition at line 1292 of file inspircd12.c.

References s_OperServ, send_cmd(), and TS6SID.

Referenced by moduleAddAnopeCmds().

void inspircd_cmd_squit ( char *  servname,
char *  message 
)

Definition at line 1302 of file inspircd12.c.

References send_cmd(), and TS6SID.

Referenced by moduleAddAnopeCmds().

void inspircd_cmd_svid_umode ( char *  nick,
time_t  ts 
)

Definition at line 2361 of file inspircd12.c.

References alog(), and debug.

Referenced by moduleAddAnopeCmds().

void inspircd_cmd_svid_umode2 ( User u,
char *  ts 
)

Definition at line 2377 of file inspircd12.c.

References alog(), common_svsmode(), and debug.

Referenced by moduleAddAnopeCmds().

void inspircd_cmd_svid_umode3 ( User u,
char *  ts 
)

Definition at line 2384 of file inspircd12.c.

Referenced by moduleAddAnopeCmds().

void inspircd_cmd_svsadmin ( char *  server,
int  set 
)

Definition at line 556 of file inspircd12.c.

void inspircd_cmd_svshold ( char *  nick)

Definition at line 2307 of file inspircd12.c.

References find_uid(), NSReleaseTimeout, s_OperServ, send_cmd(), and uid_::uid.

Referenced by moduleAddAnopeCmds().

void inspircd_cmd_svsjoin ( char *  source,
char *  nick,
char *  chan,
char *  param 
)

Definition at line 2389 of file inspircd12.c.

References find_uid(), finduser(), send_cmd(), uid_::uid, and user_::uid.

Referenced by moduleAddAnopeCmds().

void inspircd_cmd_svskill ( char *  source,
char *  user,
char *  buf 
)

Definition at line 606 of file inspircd12.c.

References find_uid(), finduser(), send_cmd(), TS6SID, uid_::uid, and user_::uid.

Referenced by moduleAddAnopeCmds().

void inspircd_cmd_svsmode ( User u,
int  ac,
char **  av 
)
void inspircd_cmd_svsmode_chan ( char *  name,
char *  mode,
char *  nick 
)

Definition at line 2353 of file inspircd12.c.

Referenced by moduleAddAnopeCmds().

void inspircd_cmd_svsnick ( char *  source,
char *  guest,
time_t  when 
)

Definition at line 1331 of file inspircd12.c.

References finduser(), send_cmd(), TS6SID, and user_::uid.

Referenced by moduleAddAnopeCmds().

void inspircd_cmd_svsnoop ( char *  server,
int  set 
)

Definition at line 551 of file inspircd12.c.

Referenced by moduleAddAnopeCmds().

void inspircd_cmd_svso ( char *  source,
char *  nick,
char *  flag 
)

Definition at line 1311 of file inspircd12.c.

Referenced by moduleAddAnopeCmds().

void inspircd_cmd_svspart ( char *  source,
char *  nick,
char *  chan 
)

Definition at line 2396 of file inspircd12.c.

References find_uid(), finduser(), send_cmd(), uid_::uid, and user_::uid.

Referenced by moduleAddAnopeCmds().

void inspircd_cmd_swhois ( char *  source,
char *  who,
char *  mask 
)

Definition at line 2403 of file inspircd12.c.

References finduser(), send_cmd(), TS6SID, and user_::uid.

Referenced by moduleAddAnopeCmds().

void inspircd_cmd_szline ( char *  mask,
char *  reason,
char *  whom 
)

Definition at line 2334 of file inspircd12.c.

References send_cmd(), and TS6SID.

Referenced by moduleAddAnopeCmds().

void inspircd_cmd_topic ( char *  whosets,
char *  chan,
char *  whosetit,
char *  topic,
time_t  when 
)

Definition at line 567 of file inspircd12.c.

References find_uid(), send_cmd(), and uid_::uid.

Referenced by moduleAddAnopeCmds().

void inspircd_cmd_unban ( char *  name,
char *  nick 
)

Definition at line 2346 of file inspircd12.c.

Referenced by moduleAddAnopeCmds().

void inspircd_cmd_unsgline ( char *  mask)

Definition at line 2322 of file inspircd12.c.

void inspircd_cmd_unsqline ( char *  user)

Definition at line 1025 of file inspircd12.c.

References send_cmd(), and TS6SID.

Referenced by moduleAddAnopeCmds().

void inspircd_cmd_unszline ( char *  mask)

Definition at line 2328 of file inspircd12.c.

References send_cmd(), and TS6SID.

Referenced by moduleAddAnopeCmds().

void inspircd_cmd_vhost_off ( User u)
void inspircd_cmd_vhost_on ( char *  nick,
char *  vIdent,
char *  vhost 
)

Definition at line 1345 of file inspircd12.c.

References inspircd_cmd_chghost(), and inspircd_cmd_chgident().

Referenced by moduleAddAnopeCmds().

int inspircd_flood_mode_check ( char *  value)

Definition at line 2430 of file inspircd12.c.

Referenced by moduleAddAnopeCmds().

int inspircd_jointhrottle_mode_check ( char *  value)

Definition at line 2510 of file inspircd12.c.

References sstrdup().

Referenced by moduleAddAnopeCmds().

void inspircd_set_umode ( User user,
int  ac,
char **  av 
)
int inspircd_valid_chan ( char *  chan)

Definition at line 2488 of file inspircd12.c.

Referenced by moduleAddAnopeCmds().

int inspircd_valid_nick ( char *  nick)

Definition at line 2483 of file inspircd12.c.

Referenced by moduleAddAnopeCmds().

int is_sid ( char *  sid)

Definition at line 2552 of file inspircd12.c.

Referenced by AnopeInit().

void moduleAddAnopeCmds ( )

Tell anope which function we want to perform each task inside of anope. These prototypes must match what anope expects.

Definition at line 2617 of file inspircd12.c.

References inspircd_cmd_211(), inspircd_cmd_219(), inspircd_cmd_242(), inspircd_cmd_243(), inspircd_cmd_250(), inspircd_cmd_307(), inspircd_cmd_311(), inspircd_cmd_312(), inspircd_cmd_317(), inspircd_cmd_318(), inspircd_cmd_351(), inspircd_cmd_372(), inspircd_cmd_372_error(), inspircd_cmd_375(), inspircd_cmd_376(), inspircd_cmd_391(), inspircd_cmd_401(), inspircd_cmd_akill(), inspircd_cmd_bob(), inspircd_cmd_bot_chan_mode(), inspircd_cmd_bot_nick(), inspircd_cmd_chg_nick(), inspircd_cmd_connect(), inspircd_cmd_ctcp(), inspircd_cmd_eob(), inspircd_cmd_global(), inspircd_cmd_global_legacy(), inspircd_cmd_guest_nick(), inspircd_cmd_invite(), inspircd_cmd_join(), inspircd_cmd_jupe(), inspircd_cmd_kick(), inspircd_cmd_mode(), inspircd_cmd_nc_change(), inspircd_cmd_nick(), inspircd_cmd_notice(), inspircd_cmd_notice2(), inspircd_cmd_notice_ops(), inspircd_cmd_part(), inspircd_cmd_pong(), inspircd_cmd_privmsg(), inspircd_cmd_privmsg2(), inspircd_cmd_quit(), inspircd_cmd_release_svshold(), inspircd_cmd_remove_akill(), inspircd_cmd_serv_notice(), inspircd_cmd_serv_privmsg(), inspircd_cmd_sgline(), inspircd_cmd_sqline(), inspircd_cmd_squit(), inspircd_cmd_svid_umode(), inspircd_cmd_svid_umode2(), inspircd_cmd_svid_umode3(), inspircd_cmd_svshold(), inspircd_cmd_svsjoin(), inspircd_cmd_svskill(), inspircd_cmd_svsmode(), inspircd_cmd_svsmode_chan(), inspircd_cmd_svsnick(), inspircd_cmd_svsnoop(), inspircd_cmd_svso(), inspircd_cmd_svspart(), inspircd_cmd_swhois(), inspircd_cmd_szline(), inspircd_cmd_topic(), inspircd_cmd_unban(), inspircd_cmd_unsqline(), inspircd_cmd_unszline(), inspircd_cmd_vhost_off(), inspircd_cmd_vhost_on(), inspircd_flood_mode_check(), inspircd_jointhrottle_mode_check(), inspircd_set_umode(), inspircd_valid_chan(), inspircd_valid_nick(), pmodule_cmd_211(), pmodule_cmd_219(), pmodule_cmd_242(), pmodule_cmd_243(), pmodule_cmd_250(), pmodule_cmd_307(), pmodule_cmd_311(), pmodule_cmd_312(), pmodule_cmd_317(), pmodule_cmd_318(), pmodule_cmd_351(), pmodule_cmd_372(), pmodule_cmd_372_error(), pmodule_cmd_375(), pmodule_cmd_376(), pmodule_cmd_391(), pmodule_cmd_401(), pmodule_cmd_akill(), pmodule_cmd_bob(), pmodule_cmd_bot_chan_mode(), pmodule_cmd_bot_nick(), pmodule_cmd_chg_nick(), pmodule_cmd_connect(), pmodule_cmd_ctcp(), pmodule_cmd_eob(), pmodule_cmd_global(), pmodule_cmd_global_legacy(), pmodule_cmd_guest_nick(), pmodule_cmd_invite(), pmodule_cmd_join(), pmodule_cmd_jupe(), pmodule_cmd_kick(), pmodule_cmd_mode(), pmodule_cmd_nc_change(), pmodule_cmd_nick(), pmodule_cmd_notice(), pmodule_cmd_notice2(), pmodule_cmd_notice_ops(), pmodule_cmd_part(), pmodule_cmd_pong(), pmodule_cmd_privmsg(), pmodule_cmd_privmsg2(), pmodule_cmd_quit(), pmodule_cmd_release_svshold(), pmodule_cmd_remove_akill(), pmodule_cmd_serv_notice(), pmodule_cmd_serv_privmsg(), pmodule_cmd_sgline(), pmodule_cmd_sqline(), pmodule_cmd_squit(), pmodule_cmd_svid_umode(), pmodule_cmd_svid_umode2(), pmodule_cmd_svid_umode3(), pmodule_cmd_svshold(), pmodule_cmd_svsjoin(), pmodule_cmd_svskill(), pmodule_cmd_svsmode(), pmodule_cmd_svsmode_chan(), pmodule_cmd_svsnick(), pmodule_cmd_svsnoop(), pmodule_cmd_svso(), pmodule_cmd_svspart(), pmodule_cmd_swhois(), pmodule_cmd_szline(), pmodule_cmd_topic(), pmodule_cmd_unban(), pmodule_cmd_unsgline(), pmodule_cmd_unsqline(), pmodule_cmd_unszline(), pmodule_cmd_vhost_off(), pmodule_cmd_vhost_on(), pmodule_flood_mode_check(), pmodule_jointhrottle_mode_check(), pmodule_set_umode(), pmodule_valid_chan(), and pmodule_valid_nick().

Referenced by AnopeInit().

void moduleAddIRCDMsgs ( void  )
void ts6_sid_increment ( unsigned  pos)

Definition at line 2562 of file inspircd12.c.

Referenced by ts6_sid_increment(), and ts6_sid_retrieve().

char* ts6_sid_retrieve ( )

Definition at line 2591 of file inspircd12.c.

Referenced by inspircd_cmd_jupe().

Variable Documentation

int burst = 0
static
char currentpass[1024]
static

Definition at line 996 of file inspircd12.c.

Referenced by inspircd_cmd_pass(), and inspircd_cmd_server().

int has_allowinvite = 0
static

Definition at line 424 of file inspircd12.c.

Referenced by anope_event_capab().

int has_auditorium = 0
static

Definition at line 416 of file inspircd12.c.

Referenced by anope_event_capab().

int has_banexceptionmod = 0
static

Definition at line 404 of file inspircd12.c.

Referenced by anope_event_capab().

int has_blockcaps = 0
static

Definition at line 425 of file inspircd12.c.

Referenced by anope_event_capab().

int has_blockcolor = 0
static

Definition at line 418 of file inspircd12.c.

Referenced by anope_event_capab().

int has_censor = 0
static

Definition at line 422 of file inspircd12.c.

Referenced by anope_event_capab().

int has_chanfilter = 0
static

Definition at line 427 of file inspircd12.c.

Referenced by anope_event_capab().

int has_chanprotectmod = 0
static

Definition at line 408 of file inspircd12.c.

Referenced by anope_event_capab().

int has_chghostmod = 0
static

Definition at line 401 of file inspircd12.c.

Referenced by anope_event_capab(), and inspircd_cmd_chghost().

int has_chgidentmod = 0
static

Definition at line 402 of file inspircd12.c.

Referenced by anope_event_capab(), inspircd_cmd_chgident(), and inspircd_cmd_vhost_off().

int has_cloaking = 0
static

Definition at line 429 of file inspircd12.c.

Referenced by anope_event_capab(), and inspircd_cmd_vhost_off().

int has_globopsmod = 0
static
int has_halfop = 0
static

Definition at line 409 of file inspircd12.c.

Referenced by anope_event_capab().

int has_hidechansmod = 0
static

Definition at line 407 of file inspircd12.c.

Referenced by anope_event_capab().

int has_inviteexceptionmod = 0
static

Definition at line 405 of file inspircd12.c.

Referenced by anope_event_capab().

int has_joinfloodmod = 0
static

Definition at line 406 of file inspircd12.c.

Referenced by anope_event_capab().

int has_kicknorejoin = 0
static

Definition at line 428 of file inspircd12.c.

Referenced by anope_event_capab().

int has_knock = 0
static

Definition at line 421 of file inspircd12.c.

Referenced by anope_event_capab().

int has_messagefloodmod = 0
static

Definition at line 403 of file inspircd12.c.

Referenced by anope_event_capab().

int has_nickflood = 0
static

Definition at line 426 of file inspircd12.c.

Referenced by anope_event_capab().

int has_noctcp = 0
static

Definition at line 423 of file inspircd12.c.

Referenced by anope_event_capab().

int has_nokicks = 0
static

Definition at line 413 of file inspircd12.c.

Referenced by anope_event_capab().

int has_nonicks = 0
static

Definition at line 420 of file inspircd12.c.

Referenced by anope_event_capab().

int has_nonotice = 0
static

Definition at line 415 of file inspircd12.c.

Referenced by anope_event_capab().

int has_operchans = 0
static

Definition at line 419 of file inspircd12.c.

Referenced by anope_event_capab().

int has_permchannels = 0
static

Definition at line 412 of file inspircd12.c.

Referenced by anope_event_capab().

int has_redirectmod = 0
static

Definition at line 410 of file inspircd12.c.

Referenced by anope_event_capab().

int has_servicesmod = 0
static

Definition at line 398 of file inspircd12.c.

Referenced by anope_event_capab().

int has_servprotectmod = 0
static

Definition at line 411 of file inspircd12.c.

Referenced by anope_event_capab().

int has_sslmodes = 0
static

Definition at line 417 of file inspircd12.c.

Referenced by anope_event_capab().

int has_stripcolor = 0
static

Definition at line 414 of file inspircd12.c.

Referenced by anope_event_capab().

int has_svsholdmod = 0
static

Definition at line 400 of file inspircd12.c.

Referenced by anope_event_capab().

CBModeInfo myCbmodeinfos[]

Definition at line 313 of file inspircd12.c.

Referenced by anope_event_capab().

CBMode myCbmodes[128]

Definition at line 247 of file inspircd12.c.

CMMode myCmmodes[128]
Initial value:
= {
{NULL}, {NULL}, {NULL}, {NULL}, {NULL}, {NULL}, {NULL}, {NULL},
{NULL}, {NULL}, {NULL}, {NULL}, {NULL}, {NULL}, {NULL}, {NULL},
{NULL}, {NULL}, {NULL}, {NULL}, {NULL}, {NULL}, {NULL}, {NULL},
{NULL}, {NULL}, {NULL}, {NULL}, {NULL}, {NULL}, {NULL}, {NULL},
{NULL}, {NULL}, {NULL}, {NULL}, {NULL}, {NULL}, {NULL}, {NULL},
{NULL}, {NULL}, {NULL}, {NULL}, {NULL}, {NULL}, {NULL}, {NULL},
{NULL}, {NULL}, {NULL}, {NULL}, {NULL}, {NULL}, {NULL}, {NULL},
{NULL}, {NULL}, {NULL}, {NULL}, {NULL}, {NULL}, {NULL}, {NULL},
{NULL}, {NULL}, {NULL}, {NULL}, {NULL}, {NULL}, {NULL}, {NULL},
{NULL}, {NULL}, {NULL}, {NULL}, {NULL}, {NULL}, {NULL}, {NULL},
{NULL}, {NULL}, {NULL}, {NULL}, {NULL}, {NULL}, {NULL}, {NULL},
{NULL}, {NULL}, {NULL}, {NULL}, {NULL}, {NULL}, {NULL}, {NULL},
{NULL},
{NULL},
{NULL},
{NULL},
{NULL, NULL},
{NULL},
{NULL},
{NULL}, {NULL}, {NULL}, {NULL}, {NULL}, {NULL}, {NULL}, {NULL},
{NULL}, {NULL}, {NULL}, {NULL}, {NULL}, {NULL}, {NULL}, {NULL},
{NULL}, {NULL}, {NULL}, {NULL}, {NULL}, {NULL}, {NULL}, {NULL}
}
E void add_ban(Channel *chan, char *mask)
Definition: channels.c:1338
E void del_ban(Channel *chan, char *mask)
Definition: channels.c:1779

Definition at line 219 of file inspircd12.c.

char myCsmodes[128]
Initial value:
= {
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0,
0,
0, 0, 0,
'h',
'a',
0, 0, 0, 0,
'v', 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
'o', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'q', 0
}

Definition at line 198 of file inspircd12.c.

Referenced by AnopeInit().

CUMode myCumodes[128]

Definition at line 346 of file inspircd12.c.

IRCDVar myIrcd[]

Definition at line 41 of file inspircd12.c.

IRCDCAPAB myIrcdcap[]

Definition at line 141 of file inspircd12.c.

char ts6_new_sid[4]
static

Definition at line 2550 of file inspircd12.c.

Referenced by ts6_sid_increment(), and ts6_sid_retrieve().

int ts6_sid_initted = 0
static

Definition at line 2549 of file inspircd12.c.

Referenced by ts6_sid_retrieve().

User* u_intro_regged = NULL

Definition at line 396 of file inspircd12.c.

Referenced by anope_event_eob(), and anope_event_uid().

unsigned long umodes[128]
Initial value:
= {
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0,
0, UMODE_B, 0, 0, 0,
0, 0, 0, 0, 0,
0, 0, UMODE_W, 0, 0,
0,
0, 0, 0, 0, 0, 0,
0, 0, UMODE_c, UMODE_d, 0,
UMODE_k, 0, 0, 0, UMODE_o,
0, 0, UMODE_r, UMODE_s, 0,
0, 0, UMODE_w, UMODE_x, 0,
0,
0, 0, 0, 0, 0
}
#define UMODE_c
Definition: bahamut.h:30
#define UMODE_R
Definition: bahamut.h:42
#define UMODE_w
Definition: bahamut.h:21
#define UMODE_k
Definition: bahamut.h:31
#define UMODE_I
Definition: bahamut.h:41
#define UMODE_g
Definition: bahamut.h:35
#define UMODE_i
Definition: bahamut.h:18
#define UMODE_W
Definition: inspircd12.h:38
#define UMODE_s
Definition: bahamut.h:29
#define UMODE_x
Definition: bahamut.h:23
#define UMODE_B
Definition: inspircd12.h:31
#define UMODE_r
Definition: bahamut.h:20
#define UMODE_S
Definition: charybdis.h:23
#define UMODE_h
Definition: bahamut.h:17
#define UMODE_G
Definition: inspircd12.h:32
#define UMODE_H
Definition: inspircd12.h:33
#define UMODE_Q
Definition: charybdis.h:21
#define UMODE_d
Definition: bahamut.h:34
#define UMODE_o
Definition: bahamut.h:19

Definition at line 175 of file inspircd12.c.

Referenced by inspircd_set_umode().