Functions | Variables

ultimate2.c File Reference

#include "services.h"
#include "pseudo.h"
#include "ultimate2.h"
#include "version.h"
Include dependency graph for ultimate2.c:

Go to the source code of this file.

Functions

void ultiamte2_set_umode (User *user, int ac, char **av)
int anope_event_setname (char *source, int ac, char **av)
int anope_event_chgname (char *source, int ac, char **av)
int anope_event_setident (char *source, int ac, char **av)
int anope_event_chgident (char *source, int ac, char **av)
int anope_event_sethost (char *source, int ac, char **av)
int anope_event_nick (char *source, int ac, char **av)
int anope_event_chghost (char *source, int ac, char **av)
int anope_event_436 (char *source, int ac, char **av)
void moduleAddIRCDMsgs (void)
int anope_event_capab (char *source, int ac, char **av)
void ultimate2_cmd_sqline (char *mask, char *reason)
void ultimate2_cmd_svsnoop (char *server, int set)
void ultimate2_cmd_svsadmin (char *server, int set)
void ultimate2_cmd_remove_akill (char *user, char *host)
void ultimate2_cmd_topic (char *whosets, char *chan, char *whosetit, char *topic, time_t when)
void ultimate2_cmd_vhost_off (User *u)
void ultimate2_cmd_vhost_on (char *nick, char *vIdent, char *vhost)
void ultimate2_cmd_unsqline (char *user)
void ultimate2_cmd_join (char *user, char *channel, time_t chantime)
void ultimate2_cmd_akill (char *user, char *host, char *who, time_t when, time_t expires, char *reason)
void ultimate2_cmd_svskill (char *source, char *user, char *buf)
void ultimate2_cmd_svsmode (User *u, int ac, char **av)
void ultimate2_cmd_capab ()
void ultimate2_cmd_pass (char *pass)
void ultimate2_cmd_server (char *servname, int hop, char *descript)
void ultimate2_cmd_pong (char *servname, char *who)
void ultimate2_cmd_connect (int servernum)
void ultimate2_cmd_bob ()
void ultimate2_cmd_chghost (char *nick, char *vhost)
void ultimate2_cmd_chgident (char *nick, char *vIdent)
void ultimate2_cmd_invite (char *source, char *chan, char *nick)
void ultimate2_cmd_part (char *nick, char *chan, char *buf)
void ultimate2_cmd_391 (char *source, char *timestr)
void ultimate2_cmd_250 (char *buf)
void ultimate2_cmd_307 (char *buf)
void ultimate2_cmd_311 (char *buf)
void ultimate2_cmd_312 (char *buf)
void ultimate2_cmd_317 (char *buf)
void ultimate2_cmd_219 (char *source, char *letter)
void ultimate2_cmd_401 (char *source, char *who)
void ultimate2_cmd_318 (char *source, char *who)
void ultimate2_cmd_242 (char *buf)
void ultimate2_cmd_243 (char *buf)
void ultimate2_cmd_211 (char *buf)
void ultimate2_cmd_global (char *source, char *buf)
void ultimate2_cmd_squit (char *servname, char *message)
void ultimate2_cmd_svso (char *source, char *nick, char *flag)
void ultimate2_cmd_chg_nick (char *oldnick, char *newnick)
void ultimate2_cmd_svsnick (char *source, char *guest, time_t when)
int anope_event_ping (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_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_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)
void ultimate2_cmd_kick (char *source, char *chan, char *user, char *buf)
void ultimate2_cmd_notice_ops (char *source, char *dest, char *buf)
void ultimate2_cmd_notice (char *source, char *dest, char *buf)
void ultimate2_cmd_notice2 (char *source, char *dest, char *msg)
void ultimate2_cmd_privmsg (char *source, char *dest, char *buf)
void ultimate2_cmd_privmsg2 (char *source, char *dest, char *msg)
void ultimate2_cmd_serv_notice (char *source, char *dest, char *msg)
void ultimate2_cmd_serv_privmsg (char *source, char *dest, char *msg)
void ultimate2_cmd_nick (char *nick, char *name, char *mode)
void ultimate2_cmd_351 (char *source)
void ultimate2_cmd_quit (char *source, char *buf)
void ultimate2_cmd_mode (char *source, char *dest, char *buf)
void ultimate2_cmd_bot_nick (char *nick, char *user, char *host, char *real, char *modes)
void ultimate2_cmd_372 (char *source, char *msg)
void ultimate2_cmd_372_error (char *source)
void ultimate2_cmd_375 (char *source)
void ultimate2_cmd_376 (char *source)
void ultimate2_cmd_bot_chan_mode (char *nick, char *chan)
void ultimate2_cmd_svshold (char *nick)
void ultimate2_cmd_release_svshold (char *nick)
void ultimate2_cmd_unsgline (char *mask)
void ultimate2_cmd_unszline (char *mask)
void ultimate2_cmd_szline (char *mask, char *reason, char *whom)
void ultimate2_cmd_sgline (char *mask, char *reason)
void ultimate2_cmd_guest_nick (char *nick, char *user, char *host, char *real, char *modes)
void ultimate2_cmd_unban (char *name, char *nick)
void ultimate2_cmd_svsmode_chan (char *name, char *mode, char *nick)
void ultimate2_cmd_svid_umode (char *nick, time_t ts)
void ultimate2_cmd_nc_change (User *u)
void ultimate2_cmd_svid_umode2 (User *u, char *ts)
void ultimate2_cmd_svid_umode3 (User *u, char *ts)
int anope_event_notice (char *source, int ac, char **av)
int anope_event_pass (char *source, int ac, char **av)
int anope_event_vctrl (char *source, int ac, char **av)
int anope_event_netinfo (char *source, int ac, char **av)
int anope_event_snetinfo (char *source, int ac, char **av)
int anope_event_sqline (char *source, int ac, char **av)
void ultimate2_cmd_svsjoin (char *source, char *nick, char *chan, char *param)
void ultimate2_cmd_svspart (char *source, char *nick, char *chan)
void ultimate2_cmd_swhois (char *source, char *who, char *mask)
void ultimate2_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 ultiamte2_flood_mode_check (char *value)
int anope_event_error (char *source, int ac, char **av)
void ultimate2_cmd_jupe (char *jserver, char *who, char *reason)
void ultimate2_cmd_global_legacy (char *source, char *fmt)
int ultiamte2_valid_nick (char *nick)
int ultiamte2_valid_chan (char *chan)
void ultimate2_cmd_ctcp (char *source, char *dest, char *buf)
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]

Function Documentation

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

Definition at line 584 of file ultimate2.c.

References m_nickcoll().

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

Definition at line 1542 of file ultimate2.c.

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

Definition at line 1129 of file ultimate2.c.

References m_away().

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

Definition at line 778 of file ultimate2.c.

References capab_parse().

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

Definition at line 565 of file ultimate2.c.

References alog(), change_user_host(), debug, and finduser().

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

Definition at line 509 of file ultimate2.c.

References alog(), change_user_username(), debug, and finduser().

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

Definition at line 471 of file ultimate2.c.

References alog(), change_user_realname(), debug, and finduser().

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

Definition at line 1537 of file ultimate2.c.

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

Definition at line 1561 of file ultimate2.c.

References alog(), and debug.

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

Definition at line 1195 of file ultimate2.c.

References do_join().

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

Definition at line 1186 of file ultimate2.c.

References do_kick().

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

Definition at line 1177 of file ultimate2.c.

References m_kill().

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

Definition at line 1163 of file ultimate2.c.

References do_cmode(), and do_umode().

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

Definition at line 1203 of file ultimate2.c.

References m_motd().

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

Definition at line 1483 of file ultimate2.c.

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

Definition at line 547 of file ultimate2.c.

References do_nick().

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

Definition at line 1468 of file ultimate2.c.

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

Definition at line 1232 of file ultimate2.c.

References do_part().

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

Definition at line 1473 of file ultimate2.c.

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

Definition at line 1121 of file ultimate2.c.

References ServerName, and ultimate2_cmd_pong().

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

Definition at line 1224 of file ultimate2.c.

References m_privmsg().

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

Definition at line 1154 of file ultimate2.c.

References do_quit().

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

Definition at line 1532 of file ultimate2.c.

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

Definition at line 1214 of file ultimate2.c.

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

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

Definition at line 528 of file ultimate2.c.

References alog(), change_user_host(), debug, and finduser().

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

Definition at line 490 of file ultimate2.c.

References alog(), change_user_username(), debug, and finduser().

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

Definition at line 452 of file ultimate2.c.

References alog(), change_user_realname(), debug, and finduser().

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

Definition at line 1488 of file ultimate2.c.

Referenced by moduleAddIRCDMsgs().

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

Definition at line 1493 of file ultimate2.c.

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

Definition at line 1146 of file ultimate2.c.

References do_squit().

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

Definition at line 1138 of file ultimate2.c.

References do_topic().

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

Definition at line 1478 of file ultimate2.c.

Referenced by moduleAddIRCDMsgs().

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

Definition at line 1240 of file ultimate2.c.

References m_whois().

int AnopeInit ( int  argc,
char **  argv 
)
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 1630 of file ultimate2.c.

References pmodule_cmd_211(), pmodule_cmd_219(), pmodule_cmd_242(), pmodule_cmd_243(), pmodule_cmd_250(), pmodule_cmd_307(), pmodule_cmd_311(), pmodule_cmd_312(), pmodule_cmd_317(), pmodule_cmd_318(), pmodule_cmd_351(), pmodule_cmd_372(), pmodule_cmd_372_error(), pmodule_cmd_375(), pmodule_cmd_376(), pmodule_cmd_391(), pmodule_cmd_401(), pmodule_cmd_akill(), pmodule_cmd_bob(), pmodule_cmd_bot_chan_mode(), pmodule_cmd_bot_nick(), pmodule_cmd_chg_nick(), pmodule_cmd_connect(), pmodule_cmd_ctcp(), pmodule_cmd_eob(), pmodule_cmd_global(), pmodule_cmd_global_legacy(), pmodule_cmd_guest_nick(), pmodule_cmd_invite(), pmodule_cmd_join(), pmodule_cmd_jupe(), pmodule_cmd_kick(), pmodule_cmd_mode(), pmodule_cmd_nc_change(), pmodule_cmd_nick(), pmodule_cmd_notice(), pmodule_cmd_notice2(), pmodule_cmd_notice_ops(), pmodule_cmd_part(), pmodule_cmd_pong(), pmodule_cmd_privmsg(), pmodule_cmd_privmsg2(), pmodule_cmd_quit(), pmodule_cmd_release_svshold(), pmodule_cmd_remove_akill(), pmodule_cmd_serv_notice(), pmodule_cmd_serv_privmsg(), pmodule_cmd_sgline(), pmodule_cmd_sqline(), pmodule_cmd_squit(), pmodule_cmd_svid_umode(), pmodule_cmd_svid_umode2(), pmodule_cmd_svid_umode3(), pmodule_cmd_svshold(), pmodule_cmd_svsjoin(), pmodule_cmd_svskill(), pmodule_cmd_svsmode(), pmodule_cmd_svsmode_chan(), pmodule_cmd_svsnick(), pmodule_cmd_svsnoop(), pmodule_cmd_svso(), pmodule_cmd_svspart(), pmodule_cmd_swhois(), pmodule_cmd_szline(), pmodule_cmd_topic(), pmodule_cmd_unban(), pmodule_cmd_unsgline(), pmodule_cmd_unsqline(), pmodule_cmd_unszline(), pmodule_cmd_vhost_off(), pmodule_cmd_vhost_on(), pmodule_flood_mode_check(), pmodule_set_umode(), pmodule_valid_chan(), pmodule_valid_nick(), ultiamte2_flood_mode_check(), ultiamte2_set_umode(), ultiamte2_valid_chan(), ultiamte2_valid_nick(), ultimate2_cmd_211(), ultimate2_cmd_219(), ultimate2_cmd_242(), ultimate2_cmd_243(), ultimate2_cmd_250(), ultimate2_cmd_307(), ultimate2_cmd_311(), ultimate2_cmd_312(), ultimate2_cmd_317(), ultimate2_cmd_318(), ultimate2_cmd_351(), ultimate2_cmd_372(), ultimate2_cmd_372_error(), ultimate2_cmd_375(), ultimate2_cmd_376(), ultimate2_cmd_391(), ultimate2_cmd_401(), ultimate2_cmd_akill(), ultimate2_cmd_bob(), ultimate2_cmd_bot_chan_mode(), ultimate2_cmd_bot_nick(), ultimate2_cmd_chg_nick(), ultimate2_cmd_connect(), ultimate2_cmd_ctcp(), ultimate2_cmd_eob(), ultimate2_cmd_global(), ultimate2_cmd_global_legacy(), ultimate2_cmd_guest_nick(), ultimate2_cmd_invite(), ultimate2_cmd_join(), ultimate2_cmd_jupe(), ultimate2_cmd_kick(), ultimate2_cmd_mode(), ultimate2_cmd_nc_change(), ultimate2_cmd_nick(), ultimate2_cmd_notice(), ultimate2_cmd_notice2(), ultimate2_cmd_notice_ops(), ultimate2_cmd_part(), ultimate2_cmd_pong(), ultimate2_cmd_privmsg(), ultimate2_cmd_privmsg2(), ultimate2_cmd_quit(), ultimate2_cmd_release_svshold(), ultimate2_cmd_remove_akill(), ultimate2_cmd_serv_notice(), ultimate2_cmd_serv_privmsg(), ultimate2_cmd_sgline(), ultimate2_cmd_sqline(), ultimate2_cmd_squit(), ultimate2_cmd_svid_umode(), ultimate2_cmd_svid_umode2(), ultimate2_cmd_svid_umode3(), ultimate2_cmd_svshold(), ultimate2_cmd_svsjoin(), ultimate2_cmd_svskill(), ultimate2_cmd_svsmode(), ultimate2_cmd_svsmode_chan(), ultimate2_cmd_svsnick(), ultimate2_cmd_svsnoop(), ultimate2_cmd_svso(), ultimate2_cmd_svspart(), ultimate2_cmd_swhois(), ultimate2_cmd_szline(), ultimate2_cmd_topic(), ultimate2_cmd_unban(), ultimate2_cmd_unsgline(), ultimate2_cmd_unsqline(), ultimate2_cmd_unszline(), ultimate2_cmd_vhost_off(), and ultimate2_cmd_vhost_on().

void moduleAddIRCDMsgs ( void   ) 
int ultiamte2_flood_mode_check ( char *  value  ) 

Definition at line 1547 of file ultimate2.c.

Referenced by moduleAddAnopeCmds().

void ultiamte2_set_umode ( User user,
int  ac,
char **  av 
)
int ultiamte2_valid_chan ( char *  chan  ) 

Definition at line 1604 of file ultimate2.c.

Referenced by moduleAddAnopeCmds().

int ultiamte2_valid_nick ( char *  nick  ) 

Definition at line 1594 of file ultimate2.c.

Referenced by moduleAddAnopeCmds().

void ultimate2_cmd_211 ( char *  buf  ) 

Definition at line 1061 of file ultimate2.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

void ultimate2_cmd_219 ( char *  source,
char *  letter 
)

Definition at line 1007 of file ultimate2.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

void ultimate2_cmd_242 ( char *  buf  ) 

Definition at line 1041 of file ultimate2.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

void ultimate2_cmd_243 ( char *  buf  ) 

Definition at line 1051 of file ultimate2.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

void ultimate2_cmd_250 ( char *  buf  ) 

Definition at line 957 of file ultimate2.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

void ultimate2_cmd_307 ( char *  buf  ) 

Definition at line 967 of file ultimate2.c.

References send_cmd(), and ServerName.

Referenced by moduleAddAnopeCmds().

void ultimate2_cmd_311 ( char *  buf  ) 

Definition at line 977 of file ultimate2.c.

References send_cmd(), and ServerName.

Referenced by moduleAddAnopeCmds().

void ultimate2_cmd_312 ( char *  buf  ) 

Definition at line 987 of file ultimate2.c.

References send_cmd(), and ServerName.

Referenced by moduleAddAnopeCmds().

void ultimate2_cmd_317 ( char *  buf  ) 

Definition at line 997 of file ultimate2.c.

References send_cmd(), and ServerName.

Referenced by moduleAddAnopeCmds().

void ultimate2_cmd_318 ( char *  source,
char *  who 
)

Definition at line 1031 of file ultimate2.c.

References send_cmd(), and ServerName.

Referenced by moduleAddAnopeCmds().

void ultimate2_cmd_351 ( char *  source  ) 
void ultimate2_cmd_372 ( char *  source,
char *  msg 
)

Definition at line 1355 of file ultimate2.c.

References send_cmd(), and ServerName.

Referenced by moduleAddAnopeCmds().

void ultimate2_cmd_372_error ( char *  source  ) 

Definition at line 1360 of file ultimate2.c.

References send_cmd(), and ServerName.

Referenced by moduleAddAnopeCmds().

void ultimate2_cmd_375 ( char *  source  ) 

Definition at line 1366 of file ultimate2.c.

References send_cmd(), and ServerName.

Referenced by moduleAddAnopeCmds().

void ultimate2_cmd_376 ( char *  source  ) 

Definition at line 1372 of file ultimate2.c.

References send_cmd(), and ServerName.

Referenced by moduleAddAnopeCmds().

void ultimate2_cmd_391 ( char *  source,
char *  timestr 
)

Definition at line 948 of file ultimate2.c.

References send_cmd(), and ServerName.

Referenced by moduleAddAnopeCmds().

void ultimate2_cmd_401 ( char *  source,
char *  who 
)

Definition at line 1022 of file ultimate2.c.

References send_cmd(), and ServerName.

Referenced by moduleAddAnopeCmds().

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

Definition at line 836 of file ultimate2.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

void ultimate2_cmd_bob (  ) 

Definition at line 900 of file ultimate2.c.

Referenced by moduleAddAnopeCmds().

void ultimate2_cmd_bot_chan_mode ( char *  nick,
char *  chan 
)

Definition at line 1377 of file ultimate2.c.

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

Referenced by moduleAddAnopeCmds().

void ultimate2_cmd_bot_nick ( char *  nick,
char *  user,
char *  host,
char *  real,
char *  modes 
)
void ultimate2_cmd_capab (  ) 

Definition at line 857 of file ultimate2.c.

References send_cmd(), and UseTokens.

Referenced by ultimate2_cmd_connect().

void ultimate2_cmd_chg_nick ( char *  oldnick,
char *  newnick 
)

Definition at line 1101 of file ultimate2.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

void ultimate2_cmd_chghost ( char *  nick,
char *  vhost 
)

Definition at line 906 of file ultimate2.c.

References send_cmd(), and ServerName.

void ultimate2_cmd_chgident ( char *  nick,
char *  vIdent 
)

Definition at line 915 of file ultimate2.c.

References send_cmd(), and ServerName.

void ultimate2_cmd_connect ( int  servernum  ) 
void ultimate2_cmd_ctcp ( char *  source,
char *  dest,
char *  buf 
)

Definition at line 1611 of file ultimate2.c.

References normalizeBuffer(), and send_cmd().

Referenced by moduleAddAnopeCmds().

void ultimate2_cmd_eob (  ) 

Definition at line 1527 of file ultimate2.c.

Referenced by moduleAddAnopeCmds().

void ultimate2_cmd_global ( char *  source,
char *  buf 
)

Definition at line 1071 of file ultimate2.c.

References send_cmd(), and ServerName.

Referenced by moduleAddAnopeCmds().

void ultimate2_cmd_global_legacy ( char *  source,
char *  fmt 
)

Definition at line 1585 of file ultimate2.c.

References send_cmd(), and ServerName.

Referenced by moduleAddAnopeCmds().

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

Definition at line 1418 of file ultimate2.c.

References anope_cmd_mode(), send_cmd(), and ServerName.

Referenced by moduleAddAnopeCmds().

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

Definition at line 924 of file ultimate2.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

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

Definition at line 831 of file ultimate2.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

void ultimate2_cmd_jupe ( char *  jserver,
char *  who,
char *  reason 
)
void ultimate2_cmd_kick ( char *  source,
char *  chan,
char *  user,
char *  buf 
)

Definition at line 1248 of file ultimate2.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

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

Definition at line 1336 of file ultimate2.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

void ultimate2_cmd_nc_change ( User u  ) 

Definition at line 1448 of file ultimate2.c.

References common_svsmode().

Referenced by moduleAddAnopeCmds().

void ultimate2_cmd_nick ( char *  nick,
char *  name,
char *  mode 
)
void ultimate2_cmd_notice ( char *  source,
char *  dest,
char *  buf 
)

Definition at line 1267 of file ultimate2.c.

References NI_MSG, NSDefFlags, send_cmd(), and ultimate2_cmd_privmsg2().

Referenced by moduleAddAnopeCmds().

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

Definition at line 1280 of file ultimate2.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

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

Definition at line 1257 of file ultimate2.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

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

Definition at line 934 of file ultimate2.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

void ultimate2_cmd_pass ( char *  pass  ) 

Definition at line 868 of file ultimate2.c.

References send_cmd().

Referenced by ultimate2_cmd_connect().

void ultimate2_cmd_pong ( char *  servname,
char *  who 
)

Definition at line 880 of file ultimate2.c.

References send_cmd().

Referenced by anope_event_ping(), and moduleAddAnopeCmds().

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

Definition at line 1285 of file ultimate2.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

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

Definition at line 1294 of file ultimate2.c.

References send_cmd().

Referenced by moduleAddAnopeCmds(), and ultimate2_cmd_notice().

void ultimate2_cmd_quit ( char *  source,
char *  buf 
)

Definition at line 1327 of file ultimate2.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

void ultimate2_cmd_release_svshold ( char *  nick  ) 

Definition at line 1389 of file ultimate2.c.

Referenced by moduleAddAnopeCmds().

void ultimate2_cmd_remove_akill ( char *  user,
char *  host 
)

Definition at line 799 of file ultimate2.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

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

Definition at line 1299 of file ultimate2.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

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

Definition at line 1304 of file ultimate2.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

void ultimate2_cmd_server ( char *  servname,
int  hop,
char *  descript 
)

Definition at line 874 of file ultimate2.c.

References send_cmd().

Referenced by ultimate2_cmd_connect(), and ultimate2_cmd_jupe().

void ultimate2_cmd_sgline ( char *  mask,
char *  reason 
)

Definition at line 1413 of file ultimate2.c.

Referenced by moduleAddAnopeCmds().

void ultimate2_cmd_sqline ( char *  mask,
char *  reason 
)

Definition at line 784 of file ultimate2.c.

References send_cmd().

Referenced by moduleAddAnopeCmds(), ultimate2_cmd_bot_nick(), and ultimate2_cmd_nick().

void ultimate2_cmd_squit ( char *  servname,
char *  message 
)

Definition at line 1081 of file ultimate2.c.

References send_cmd().

Referenced by moduleAddAnopeCmds(), and ultimate2_cmd_jupe().

void ultimate2_cmd_svid_umode ( char *  nick,
time_t  ts 
)

Definition at line 1441 of file ultimate2.c.

References send_cmd(), and ServerName.

Referenced by moduleAddAnopeCmds().

void ultimate2_cmd_svid_umode2 ( User u,
char *  ts 
)

Definition at line 1454 of file ultimate2.c.

References common_svsmode(), user_::svid, and user_::timestamp.

Referenced by moduleAddAnopeCmds().

void ultimate2_cmd_svid_umode3 ( User u,
char *  ts 
)

Definition at line 1463 of file ultimate2.c.

Referenced by moduleAddAnopeCmds().

void ultimate2_cmd_svsadmin ( char *  server,
int  set 
)

Definition at line 794 of file ultimate2.c.

References ultimate2_cmd_svsnoop().

void ultimate2_cmd_svshold ( char *  nick  ) 

Definition at line 1383 of file ultimate2.c.

Referenced by moduleAddAnopeCmds().

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

Definition at line 1505 of file ultimate2.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

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

Definition at line 842 of file ultimate2.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

void ultimate2_cmd_svsmode ( User u,
int  ac,
char **  av 
)

Definition at line 851 of file ultimate2.c.

References user_::nick, send_cmd(), and ServerName.

Referenced by moduleAddAnopeCmds().

void ultimate2_cmd_svsmode_chan ( char *  name,
char *  mode,
char *  nick 
)

Definition at line 1434 of file ultimate2.c.

Referenced by moduleAddAnopeCmds().

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

Definition at line 1111 of file ultimate2.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

void ultimate2_cmd_svsnoop ( char *  server,
int  set 
)

Definition at line 789 of file ultimate2.c.

References send_cmd().

Referenced by moduleAddAnopeCmds(), and ultimate2_cmd_svsadmin().

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

Definition at line 1091 of file ultimate2.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

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

Definition at line 1517 of file ultimate2.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

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

Definition at line 1522 of file ultimate2.c.

Referenced by moduleAddAnopeCmds().

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

Definition at line 1407 of file ultimate2.c.

Referenced by moduleAddAnopeCmds().

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

Definition at line 805 of file ultimate2.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

void ultimate2_cmd_unban ( char *  name,
char *  nick 
)

Definition at line 1427 of file ultimate2.c.

Referenced by moduleAddAnopeCmds().

void ultimate2_cmd_unsgline ( char *  mask  ) 

Definition at line 1395 of file ultimate2.c.

Referenced by moduleAddAnopeCmds().

void ultimate2_cmd_unsqline ( char *  user  ) 

Definition at line 826 of file ultimate2.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

void ultimate2_cmd_unszline ( char *  mask  ) 

Definition at line 1401 of file ultimate2.c.

Referenced by moduleAddAnopeCmds().

void ultimate2_cmd_vhost_off ( User u  ) 

Definition at line 812 of file ultimate2.c.

Referenced by moduleAddAnopeCmds().

void ultimate2_cmd_vhost_on ( char *  nick,
char *  vIdent,
char *  vhost 
)

Definition at line 817 of file ultimate2.c.

References s_HostServ, send_cmd(), and ServerName.

Referenced by moduleAddAnopeCmds().


Variable Documentation

Initial value:
 {
    {'f', CMODE_f, 0, get_flood, cs_get_flood},
    {'i', CMODE_i, 0, NULL, NULL},
    {'k', CMODE_k, 0, get_key, cs_get_key},
    {'l', CMODE_l, CBM_MINUS_NO_ARG, get_limit, cs_get_limit},
    {'m', CMODE_m, 0, NULL, NULL},
    {'n', CMODE_n, 0, NULL, NULL},
    {'p', CMODE_p, 0, NULL, NULL},
    {'r', CMODE_r, 0, NULL, NULL},
    {'s', CMODE_s, 0, NULL, NULL},
    {'t', CMODE_t, 0, NULL, NULL},
    {'x', CMODE_x, 0, NULL, NULL},
    {'A', CMODE_A, 0, NULL, NULL},
    {'I', CMODE_I, 0, NULL, NULL},
    {'K', CMODE_K, 0, NULL, NULL},
    {'L', CMODE_L, 0, get_redirect, cs_get_redirect},
    {'O', CMODE_O, 0, NULL, NULL},
    {'R', CMODE_R, 0, NULL, NULL},
    {'S', CMODE_S, 0, NULL, NULL},
    {0}
}

Definition at line 382 of file ultimate2.c.

Definition at line 316 of file ultimate2.c.

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},
    {add_ban, del_ban},
    {NULL},
    {NULL},
    {add_exception, del_exception},
    {NULL},
    {NULL},
    {NULL}, {NULL}, {NULL}, {NULL}, {NULL}, {NULL}, {NULL}, {NULL},
    {NULL}, {NULL}, {NULL}, {NULL}, {NULL}, {NULL}, {NULL}, {NULL},
    {NULL}, {NULL}, {NULL}, {NULL}, {NULL}, {NULL}, {NULL}, {NULL}
}

Definition at line 289 of file ultimate2.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,
    0,
    0, 0, 0, 0,
    0,

    'v', 0, 0, 0, 0,
    0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,

    'o', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
    0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,

    0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
    0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
}

Definition at line 268 of file ultimate2.c.

Definition at line 404 of file ultimate2.c.

Definition at line 19 of file ultimate2.c.

Definition at line 119 of file ultimate2.c.

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, UMODE_A, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
    UMODE_P,
    0,
    UMODE_R,
    0, 0, 0, 0, 0, 0, 0,
    0,
    0, 0, 0, 0, 0,
    0, UMODE_a, 0, 0, 0, 0, 0,
    UMODE_g,
    UMODE_h, UMODE_i, 0, 0, 0, 0, 0, UMODE_o,
    UMODE_p,
    0, UMODE_r, 0, 0, 0, 0, UMODE_w,
    UMODE_x,
    0,
    0,
    0, 0, 0, 0, 0
}

Definition at line 245 of file ultimate2.c.