Anope IRC Services  Version 1.8
Functions | Variables
rageircd.c File Reference
#include "services.h"
#include "pseudo.h"
#include "rageircd.h"
#include "version.h"
Include dependency graph for rageircd.c:

Go to the source code of this file.

Functions

void rageircd_cmd_bot_unban (ChannelInfo *ci, char *nick)
 
int anope_event_sjoin (char *source, int ac, char **av)
 
int anope_event_nick (char *source, int ac, char **av)
 
int anope_event_capab (char *source, int ac, char **av)
 
int anope_event_vhost (char *source, int ac, char **av)
 
int anope_event_snick (char *source, int ac, char **av)
 
int anope_event_436 (char *source, int ac, char **av)
 
void moduleAddIRCDMsgs (void)
 
int anope_event_error (char *source, int ac, char **av)
 
int anope_event_burst (char *source, int ac, char **av)
 
void rageircd_cmd_sqline (char *mask, char *reason)
 
void rageircd_cmd_unsgline (char *mask)
 
void rageircd_cmd_unszline (char *mask)
 
void rageircd_cmd_szline (char *mask, char *reason, char *whom)
 
void rageircd_cmd_svsnoop (char *server, int set)
 
void rageircd_cmd_svsadmin (char *server, int set)
 
void rageircd_cmd_sgline (char *mask, char *reason)
 
void rageircd_cmd_remove_akill (char *user, char *host)
 
void rageircd_cmd_part (char *nick, char *chan, char *buf)
 
void rageircd_cmd_topic (char *whosets, char *chan, char *whosetit, char *topic, time_t when)
 
void rageircd_cmd_vhost_off (User *u)
 
void rageircd_cmd_chghost (char *nick, char *vhost)
 
void rageircd_cmd_vhost_on (char *nick, char *vIdent, char *vhost)
 
void rageircd_cmd_unsqline (char *user)
 
void rageircd_cmd_join (char *user, char *channel, time_t chantime)
 
void rageircd_cmd_akill (char *user, char *host, char *who, time_t when, time_t expires, char *reason)
 
void rageircd_cmd_svskill (char *source, char *user, char *buf)
 
void rageircd_cmd_svsmode (User *u, int ac, char **av)
 
void rageircd_cmd_squit (char *servname, char *message)
 
void rageircd_cmd_pong (char *servname, char *who)
 
void rageircd_cmd_svinfo ()
 
void rageircd_cmd_capab ()
 
void rageircd_cmd_server (char *servname, int hop, char *descript)
 
void rageircd_cmd_pass (char *pass)
 
void rageircd_cmd_burst ()
 
void rageircd_cmd_connect (int servernum)
 
void rageircd_cmd_bob ()
 
void rageircd_set_umode (User *user, int ac, char **av)
 
void rageircd_cmd_global (char *source, char *buf)
 
void rageircd_cmd_notice_ops (char *source, char *dest, char *buf)
 
void rageircd_cmd_notice (char *source, char *dest, char *buf)
 
void rageircd_cmd_notice2 (char *source, char *dest, char *msg)
 
void rageircd_cmd_privmsg (char *source, char *dest, char *buf)
 
void rageircd_cmd_privmsg2 (char *source, char *dest, char *msg)
 
void rageircd_cmd_serv_notice (char *source, char *dest, char *msg)
 
void rageircd_cmd_serv_privmsg (char *source, char *dest, char *msg)
 
int anope_event_away (char *source, int ac, char **av)
 
int anope_event_ping (char *source, int ac, char **av)
 
void rageircd_cmd_351 (char *source)
 
void rageircd_cmd_mode (char *source, char *dest, char *buf)
 
void rageircd_cmd_kick (char *source, char *chan, char *user, char *buf)
 
void rageircd_cmd_372 (char *source, char *msg)
 
void rageircd_cmd_372_error (char *source)
 
void rageircd_cmd_375 (char *source)
 
void rageircd_cmd_376 (char *source)
 
void rageircd_cmd_invite (char *source, char *chan, char *nick)
 
void rageircd_cmd_391 (char *source, char *timestr)
 
void rageircd_cmd_250 (char *buf)
 
void rageircd_cmd_307 (char *buf)
 
void rageircd_cmd_311 (char *buf)
 
void rageircd_cmd_312 (char *buf)
 
void rageircd_cmd_317 (char *buf)
 
void rageircd_cmd_219 (char *source, char *letter)
 
void rageircd_cmd_401 (char *source, char *who)
 
void rageircd_cmd_318 (char *source, char *who)
 
void rageircd_cmd_242 (char *buf)
 
void rageircd_cmd_243 (char *buf)
 
void rageircd_cmd_211 (char *buf)
 
void rageircd_cmd_nick (char *nick, char *name, char *modes)
 
int anope_event_os (char *source, int ac, char **av)
 
int anope_event_ns (char *source, int ac, char **av)
 
int anope_event_ms (char *source, int ac, char **av)
 
int anope_event_hs (char *source, int ac, char **av)
 
int anope_event_cs (char *source, int ac, char **av)
 
void rageircd_cmd_quit (char *source, char *buf)
 
void rageircd_cmd_bot_nick (char *nick, char *user, char *host, char *real, char *modes)
 
void rageircd_cmd_unban (char *name, char *nick)
 
void rageircd_cmd_svsmode_chan (char *name, char *mode, char *nick)
 
void rageircd_cmd_bot_chan_mode (char *nick, char *chan)
 
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_482 (char *source, int ac, char **av)
 
int anope_event_topic (char *source, int ac, char **av)
 
int anope_event_squit (char *source, int ac, char **av)
 
int anope_event_quit (char *source, int ac, char **av)
 
int anope_event_mode (char *source, int ac, char **av)
 
int anope_event_kill (char *source, int ac, char **av)
 
int anope_event_kick (char *source, int ac, char **av)
 
int anope_event_join (char *source, int ac, char **av)
 
int anope_event_motd (char *source, int ac, char **av)
 
void rageircd_cmd_svshold (char *nick)
 
void rageircd_cmd_release_svshold (char *nick)
 
void rageircd_cmd_svsnick (char *source, char *guest, time_t when)
 
void rageircd_cmd_guest_nick (char *nick, char *user, char *host, char *real, char *modes)
 
void rageircd_cmd_svso (char *source, char *nick, char *flag)
 
void rageircd_cmd_svid_umode (char *nick, time_t ts)
 
void rageircd_cmd_nc_change (User *u)
 
void rageircd_cmd_svid_umode2 (User *u, char *ts)
 
void rageircd_cmd_svid_umode3 (User *u, char *ts)
 
void rageircd_cmd_chg_nick (char *oldnick, char *newnick)
 
int anope_event_myid (char *source, int ac, char **av)
 
int anope_event_pass (char *source, int ac, char **av)
 
int anope_event_svinfo (char *source, int ac, char **av)
 
int anope_event_gnotice (char *source, int ac, char **av)
 
int anope_event_notice (char *source, int ac, char **av)
 
int anope_event_sqline (char *source, int ac, char **av)
 
void rageircd_cmd_svsjoin (char *source, char *nick, char *chan, char *param)
 
void rageircd_cmd_svspart (char *source, char *nick, char *chan)
 
void rageircd_cmd_swhois (char *source, char *who, char *mask)
 
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 anope_event_globops (char *source, int ac, char **av)
 
int rageircd_flood_mode_check (char *value)
 
void rageircd_cmd_eob ()
 
void rageircd_cmd_jupe (char *jserver, char *who, char *reason)
 
void rageircd_cmd_global_legacy (char *source, char *fmt)
 
int rageircd_valid_nick (char *nick)
 
int rageircd_valid_chan (char *chan)
 
void rageircd_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 494 of file rageircd.c.

References m_nickcoll(), and MOD_CONT.

Referenced by moduleAddIRCDMsgs().

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

Definition at line 1262 of file rageircd.c.

References MOD_CONT.

Referenced by moduleAddIRCDMsgs().

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

Definition at line 1493 of file rageircd.c.

References MOD_CONT.

Referenced by moduleAddIRCDMsgs().

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

Definition at line 925 of file rageircd.c.

References m_away(), and MOD_CONT.

Referenced by moduleAddIRCDMsgs().

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

Definition at line 583 of file rageircd.c.

References findserver(), finish_sync(), MOD_CONT, serv_uplink, and servlist.

Referenced by moduleAddIRCDMsgs().

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

Definition at line 438 of file rageircd.c.

References capab_parse(), and MOD_CONT.

Referenced by moduleAddIRCDMsgs().

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

Definition at line 1488 of file rageircd.c.

References MOD_CONT.

Referenced by moduleAddIRCDMsgs().

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

Definition at line 1177 of file rageircd.c.

References m_privmsg(), MOD_CONT, and s_ChanServ.

Referenced by moduleAddIRCDMsgs().

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

Definition at line 572 of file rageircd.c.

References alog(), debug, and MOD_CONT.

Referenced by moduleAddIRCDMsgs().

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

Definition at line 1498 of file rageircd.c.

References MOD_CONT.

Referenced by moduleAddIRCDMsgs().

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

Definition at line 1450 of file rageircd.c.

References MOD_CONT.

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

Definition at line 1168 of file rageircd.c.

References m_privmsg(), MOD_CONT, and s_HostServ.

Referenced by moduleAddIRCDMsgs().

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

Definition at line 1324 of file rageircd.c.

References do_join(), and MOD_CONT.

Referenced by moduleAddIRCDMsgs().

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

Definition at line 1315 of file rageircd.c.

References do_kick(), and MOD_CONT.

Referenced by moduleAddIRCDMsgs().

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

Definition at line 1306 of file rageircd.c.

References m_kill(), and MOD_CONT.

Referenced by moduleAddIRCDMsgs().

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

Definition at line 1292 of file rageircd.c.

References do_cmode(), do_umode(), and MOD_CONT.

Referenced by moduleAddIRCDMsgs().

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

Definition at line 1332 of file rageircd.c.

References m_motd(), and MOD_CONT.

Referenced by moduleAddIRCDMsgs().

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

Definition at line 1159 of file rageircd.c.

References m_privmsg(), MOD_CONT, and s_MemoServ.

Referenced by moduleAddIRCDMsgs().

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

Definition at line 1417 of file rageircd.c.

References MOD_CONT.

Referenced by moduleAddIRCDMsgs().

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

Definition at line 420 of file rageircd.c.

References anope_set_umode(), do_nick(), and MOD_CONT.

Referenced by moduleAddIRCDMsgs().

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

Definition at line 1456 of file rageircd.c.

References MOD_CONT.

Referenced by moduleAddIRCDMsgs().

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

Definition at line 1150 of file rageircd.c.

References m_privmsg(), MOD_CONT, and s_NickServ.

Referenced by moduleAddIRCDMsgs().

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

Definition at line 1141 of file rageircd.c.

References m_privmsg(), MOD_CONT, and s_OperServ.

Referenced by moduleAddIRCDMsgs().

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

Definition at line 1245 of file rageircd.c.

References do_part(), and MOD_CONT.

Referenced by moduleAddIRCDMsgs().

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

Definition at line 1423 of file rageircd.c.

References MOD_CONT.

Referenced by moduleAddIRCDMsgs().

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

Definition at line 934 of file rageircd.c.

References MOD_CONT, rageircd_cmd_pong(), and ServerName.

Referenced by moduleAddIRCDMsgs().

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

Definition at line 1237 of file rageircd.c.

References m_privmsg(), and MOD_CONT.

Referenced by moduleAddIRCDMsgs().

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

Definition at line 1283 of file rageircd.c.

References do_quit(), and MOD_CONT.

Referenced by moduleAddIRCDMsgs().

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

Definition at line 1483 of file rageircd.c.

References MOD_CONT.

Referenced by moduleAddIRCDMsgs().

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

Definition at line 1227 of file rageircd.c.

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

Referenced by moduleAddIRCDMsgs().

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

Definition at line 414 of file rageircd.c.

References do_sjoin(), and MOD_CONT.

Referenced by moduleAddIRCDMsgs().

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

Definition at line 479 of file rageircd.c.

References anope_set_umode(), do_nick(), and MOD_CONT.

Referenced by moduleAddIRCDMsgs().

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

Definition at line 1462 of file rageircd.c.

References MOD_CONT.

Referenced by moduleAddIRCDMsgs().

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

Definition at line 1275 of file rageircd.c.

References do_squit(), and MOD_CONT.

Referenced by moduleAddIRCDMsgs().

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

Definition at line 1444 of file rageircd.c.

References MOD_CONT.

Referenced by moduleAddIRCDMsgs().

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

Definition at line 1267 of file rageircd.c.

References do_topic(), and MOD_CONT.

Referenced by moduleAddIRCDMsgs().

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

Definition at line 444 of file rageircd.c.

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

Referenced by moduleAddIRCDMsgs().

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

Definition at line 1253 of file rageircd.c.

References m_whois(), and MOD_CONT.

Referenced by moduleAddIRCDMsgs().

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 1572 of file rageircd.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(), rageircd_cmd_211(), rageircd_cmd_219(), rageircd_cmd_242(), rageircd_cmd_243(), rageircd_cmd_250(), rageircd_cmd_307(), rageircd_cmd_311(), rageircd_cmd_312(), rageircd_cmd_317(), rageircd_cmd_318(), rageircd_cmd_351(), rageircd_cmd_372(), rageircd_cmd_372_error(), rageircd_cmd_375(), rageircd_cmd_376(), rageircd_cmd_391(), rageircd_cmd_401(), rageircd_cmd_akill(), rageircd_cmd_bob(), rageircd_cmd_bot_chan_mode(), rageircd_cmd_bot_nick(), rageircd_cmd_chg_nick(), rageircd_cmd_connect(), rageircd_cmd_ctcp(), rageircd_cmd_eob(), rageircd_cmd_global(), rageircd_cmd_global_legacy(), rageircd_cmd_guest_nick(), rageircd_cmd_invite(), rageircd_cmd_join(), rageircd_cmd_jupe(), rageircd_cmd_kick(), rageircd_cmd_mode(), rageircd_cmd_nc_change(), rageircd_cmd_nick(), rageircd_cmd_notice(), rageircd_cmd_notice2(), rageircd_cmd_notice_ops(), rageircd_cmd_part(), rageircd_cmd_pong(), rageircd_cmd_privmsg(), rageircd_cmd_privmsg2(), rageircd_cmd_quit(), rageircd_cmd_release_svshold(), rageircd_cmd_remove_akill(), rageircd_cmd_serv_notice(), rageircd_cmd_serv_privmsg(), rageircd_cmd_sgline(), rageircd_cmd_sqline(), rageircd_cmd_squit(), rageircd_cmd_svid_umode(), rageircd_cmd_svid_umode2(), rageircd_cmd_svid_umode3(), rageircd_cmd_svshold(), rageircd_cmd_svsjoin(), rageircd_cmd_svskill(), rageircd_cmd_svsmode(), rageircd_cmd_svsmode_chan(), rageircd_cmd_svsnick(), rageircd_cmd_svsnoop(), rageircd_cmd_svso(), rageircd_cmd_svspart(), rageircd_cmd_swhois(), rageircd_cmd_szline(), rageircd_cmd_topic(), rageircd_cmd_unban(), rageircd_cmd_unsgline(), rageircd_cmd_unsqline(), rageircd_cmd_unszline(), rageircd_cmd_vhost_off(), rageircd_cmd_vhost_on(), rageircd_flood_mode_check(), rageircd_set_umode(), rageircd_valid_chan(), and rageircd_valid_nick().

Referenced by AnopeInit().

void moduleAddIRCDMsgs ( void  )
void rageircd_cmd_211 ( char *  buf)

Definition at line 1122 of file rageircd.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

void rageircd_cmd_219 ( char *  source,
char *  letter 
)

Definition at line 1068 of file rageircd.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

void rageircd_cmd_242 ( char *  buf)

Definition at line 1102 of file rageircd.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

void rageircd_cmd_243 ( char *  buf)

Definition at line 1112 of file rageircd.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

void rageircd_cmd_250 ( char *  buf)

Definition at line 1018 of file rageircd.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

void rageircd_cmd_307 ( char *  buf)

Definition at line 1028 of file rageircd.c.

References send_cmd(), and ServerName.

Referenced by moduleAddAnopeCmds().

void rageircd_cmd_311 ( char *  buf)

Definition at line 1038 of file rageircd.c.

References send_cmd(), and ServerName.

Referenced by moduleAddAnopeCmds().

void rageircd_cmd_312 ( char *  buf)

Definition at line 1048 of file rageircd.c.

References send_cmd(), and ServerName.

Referenced by moduleAddAnopeCmds().

void rageircd_cmd_317 ( char *  buf)

Definition at line 1058 of file rageircd.c.

References send_cmd(), and ServerName.

Referenced by moduleAddAnopeCmds().

void rageircd_cmd_318 ( char *  source,
char *  who 
)

Definition at line 1092 of file rageircd.c.

References send_cmd(), and ServerName.

Referenced by moduleAddAnopeCmds().

void rageircd_cmd_351 ( char *  source)
void rageircd_cmd_372 ( char *  source,
char *  msg 
)

Definition at line 976 of file rageircd.c.

References send_cmd(), and ServerName.

Referenced by moduleAddAnopeCmds().

void rageircd_cmd_372_error ( char *  source)

Definition at line 981 of file rageircd.c.

References send_cmd(), and ServerName.

Referenced by moduleAddAnopeCmds().

void rageircd_cmd_375 ( char *  source)

Definition at line 987 of file rageircd.c.

References send_cmd(), and ServerName.

Referenced by moduleAddAnopeCmds().

void rageircd_cmd_376 ( char *  source)

Definition at line 993 of file rageircd.c.

References send_cmd(), and ServerName.

Referenced by moduleAddAnopeCmds().

void rageircd_cmd_391 ( char *  source,
char *  timestr 
)

Definition at line 1009 of file rageircd.c.

References send_cmd(), and ServerName.

Referenced by moduleAddAnopeCmds().

void rageircd_cmd_401 ( char *  source,
char *  who 
)

Definition at line 1083 of file rageircd.c.

References send_cmd(), and ServerName.

Referenced by moduleAddAnopeCmds().

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

Definition at line 700 of file rageircd.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

void rageircd_cmd_bob ( )

Definition at line 790 of file rageircd.c.

Referenced by moduleAddAnopeCmds().

void rageircd_cmd_bot_chan_mode ( char *  nick,
char *  chan 
)

Definition at line 1222 of file rageircd.c.

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

Referenced by moduleAddAnopeCmds().

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

Definition at line 1195 of file rageircd.c.

References EnforceQlinedNick(), rageircd_cmd_sqline(), s_BotServ, send_cmd(), and ServerName.

Referenced by moduleAddAnopeCmds().

void rageircd_cmd_bot_unban ( ChannelInfo ci,
char *  nick 
)

Definition at line 409 of file rageircd.c.

References chaninfo_::name, send_cmd(), and ServerName.

void rageircd_cmd_burst ( )

Definition at line 760 of file rageircd.c.

References send_cmd().

Referenced by rageircd_cmd_connect().

void rageircd_cmd_capab ( )

Definition at line 743 of file rageircd.c.

References send_cmd().

Referenced by rageircd_cmd_connect().

void rageircd_cmd_chg_nick ( char *  oldnick,
char *  newnick 
)

Definition at line 1408 of file rageircd.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

void rageircd_cmd_chghost ( char *  nick,
char *  vhost 
)

Definition at line 676 of file rageircd.c.

References send_cmd(), and ServerName.

Referenced by rageircd_cmd_vhost_on().

void rageircd_cmd_connect ( int  servernum)
void rageircd_cmd_ctcp ( char *  source,
char *  dest,
char *  buf 
)

Definition at line 1553 of file rageircd.c.

References normalizeBuffer(), and send_cmd().

Referenced by moduleAddAnopeCmds().

void rageircd_cmd_eob ( )

Definition at line 1508 of file rageircd.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

void rageircd_cmd_global ( char *  source,
char *  buf 
)

Definition at line 864 of file rageircd.c.

References send_cmd(), and ServerName.

Referenced by moduleAddAnopeCmds().

void rageircd_cmd_global_legacy ( char *  source,
char *  fmt 
)

Definition at line 1527 of file rageircd.c.

References send_cmd(), and ServerName.

Referenced by moduleAddAnopeCmds().

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

Definition at line 1363 of file rageircd.c.

References send_cmd(), and ServerName.

Referenced by moduleAddAnopeCmds().

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

Definition at line 999 of file rageircd.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

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

Definition at line 695 of file rageircd.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

void rageircd_cmd_jupe ( char *  jserver,
char *  who,
char *  reason 
)
void rageircd_cmd_kick ( char *  source,
char *  chan,
char *  user,
char *  buf 
)

Definition at line 967 of file rageircd.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

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

Definition at line 949 of file rageircd.c.

References ircdcap, send_cmd(), ircdcapab_::tsmode, uplink_capab, and UseTSMODE.

Referenced by moduleAddAnopeCmds().

void rageircd_cmd_nc_change ( User u)

Definition at line 1387 of file rageircd.c.

References common_svsmode().

Referenced by moduleAddAnopeCmds().

void rageircd_cmd_nick ( char *  nick,
char *  name,
char *  modes 
)
void rageircd_cmd_notice ( char *  source,
char *  dest,
char *  buf 
)

Definition at line 883 of file rageircd.c.

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

Referenced by moduleAddAnopeCmds().

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

Definition at line 896 of file rageircd.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

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

Definition at line 873 of file rageircd.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

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

Definition at line 650 of file rageircd.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

void rageircd_cmd_pass ( char *  pass)

Definition at line 755 of file rageircd.c.

References send_cmd().

Referenced by rageircd_cmd_connect().

void rageircd_cmd_pong ( char *  servname,
char *  who 
)

Definition at line 733 of file rageircd.c.

References send_cmd().

Referenced by anope_event_ping(), and moduleAddAnopeCmds().

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

Definition at line 901 of file rageircd.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

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

Definition at line 910 of file rageircd.c.

References send_cmd().

Referenced by moduleAddAnopeCmds(), and rageircd_cmd_notice().

void rageircd_cmd_quit ( char *  source,
char *  buf 
)

Definition at line 1186 of file rageircd.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

void rageircd_cmd_release_svshold ( char *  nick)

Definition at line 1350 of file rageircd.c.

References send_cmd(), and ServerName.

Referenced by moduleAddAnopeCmds().

void rageircd_cmd_remove_akill ( char *  user,
char *  host 
)

Definition at line 643 of file rageircd.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

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

Definition at line 915 of file rageircd.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

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

Definition at line 920 of file rageircd.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

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

Definition at line 749 of file rageircd.c.

References send_cmd().

Referenced by rageircd_cmd_connect(), and rageircd_cmd_jupe().

void rageircd_cmd_sgline ( char *  mask,
char *  reason 
)

Definition at line 637 of file rageircd.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

void rageircd_cmd_sqline ( char *  mask,
char *  reason 
)

Definition at line 603 of file rageircd.c.

References send_cmd().

Referenced by moduleAddAnopeCmds(), rageircd_cmd_bot_nick(), and rageircd_cmd_nick().

void rageircd_cmd_squit ( char *  servname,
char *  message 
)

Definition at line 727 of file rageircd.c.

References send_cmd().

Referenced by moduleAddAnopeCmds(), and rageircd_cmd_jupe().

void rageircd_cmd_svid_umode ( char *  nick,
time_t  ts 
)

Definition at line 1379 of file rageircd.c.

References send_cmd(), and ServerName.

Referenced by moduleAddAnopeCmds().

void rageircd_cmd_svid_umode2 ( User u,
char *  ts 
)

Definition at line 1393 of file rageircd.c.

Referenced by moduleAddAnopeCmds().

void rageircd_cmd_svid_umode3 ( User u,
char *  ts 
)

Definition at line 1398 of file rageircd.c.

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

Referenced by moduleAddAnopeCmds().

void rageircd_cmd_svinfo ( )

Definition at line 738 of file rageircd.c.

References send_cmd().

Referenced by rageircd_cmd_connect().

void rageircd_cmd_svsadmin ( char *  server,
int  set 
)

Definition at line 632 of file rageircd.c.

References rageircd_cmd_svsnoop().

void rageircd_cmd_svshold ( char *  nick)

Definition at line 1343 of file rageircd.c.

References NSReleaseTimeout, send_cmd(), and ServerName.

Referenced by moduleAddAnopeCmds().

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

Definition at line 1468 of file rageircd.c.

Referenced by moduleAddAnopeCmds().

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

Definition at line 707 of file rageircd.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

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

Definition at line 720 of file rageircd.c.

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

Referenced by moduleAddAnopeCmds().

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

Definition at line 1213 of file rageircd.c.

References send_cmd(), and ServerName.

Referenced by moduleAddAnopeCmds(), and rageircd_cmd_unban().

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

Definition at line 1355 of file rageircd.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

void rageircd_cmd_svsnoop ( char *  server,
int  set 
)

Definition at line 627 of file rageircd.c.

References send_cmd().

Referenced by moduleAddAnopeCmds(), and rageircd_cmd_svsadmin().

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

Definition at line 1371 of file rageircd.c.

Referenced by moduleAddAnopeCmds().

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

Definition at line 1473 of file rageircd.c.

Referenced by moduleAddAnopeCmds().

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

Definition at line 1478 of file rageircd.c.

Referenced by moduleAddAnopeCmds().

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

Definition at line 622 of file rageircd.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

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

Definition at line 663 of file rageircd.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

void rageircd_cmd_unban ( char *  name,
char *  nick 
)

Definition at line 1205 of file rageircd.c.

References rageircd_cmd_svsmode_chan().

Referenced by moduleAddAnopeCmds().

void rageircd_cmd_unsgline ( char *  mask)

Definition at line 612 of file rageircd.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

void rageircd_cmd_unsqline ( char *  user)

Definition at line 690 of file rageircd.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

void rageircd_cmd_unszline ( char *  mask)

Definition at line 617 of file rageircd.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

void rageircd_cmd_vhost_off ( User u)

Definition at line 670 of file rageircd.c.

References common_svsmode(), ircd, user_::nick, notice_lang(), s_HostServ, and ircdvars_::vhostchar.

Referenced by moduleAddAnopeCmds().

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

Definition at line 684 of file rageircd.c.

References rageircd_cmd_chghost(), s_HostServ, and send_cmd().

Referenced by moduleAddAnopeCmds().

int rageircd_flood_mode_check ( char *  value)

Definition at line 1503 of file rageircd.c.

Referenced by moduleAddAnopeCmds().

void rageircd_set_umode ( User user,
int  ac,
char **  av 
)
int rageircd_valid_chan ( char *  chan)

Definition at line 1546 of file rageircd.c.

Referenced by moduleAddAnopeCmds().

int rageircd_valid_nick ( char *  nick)

Definition at line 1536 of file rageircd.c.

Referenced by moduleAddAnopeCmds().

Variable Documentation

CBModeInfo myCbmodeinfos[]
Initial value:
= {
{'c', CMODE_c, 0, NULL, NULL},
{'i', CMODE_i, 0, NULL, NULL},
{'k', CMODE_k, 0, get_key, cs_get_key},
{'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},
{'A', CMODE_A, 0, NULL, NULL},
{'C', CMODE_C, 0, NULL, NULL},
{'M', CMODE_M, 0, NULL, NULL},
{'N', CMODE_N, 0, NULL, NULL},
{'O', CMODE_O, 0, NULL, NULL},
{'R', CMODE_R, 0, NULL, NULL},
{0}
}
#define CBM_MINUS_NO_ARG
Definition: services.h:928
#define CMODE_p
Definition: bahamut.h:47
E char * get_limit(Channel *chan)
Definition: channels.c:1881
#define CMODE_l
Definition: bahamut.h:51
#define CMODE_N
Definition: inspircd11.h:48
#define CMODE_C
Definition: inspircd11.h:45
#define CMODE_M
Definition: bahamut.h:55
#define CMODE_A
Definition: inspircd11.h:35
#define CMODE_n
Definition: bahamut.h:46
#define CMODE_R
Definition: bahamut.h:52
#define CMODE_t
Definition: bahamut.h:49
E char * cs_get_key(ChannelInfo *ci)
Definition: chanserv.c:2447
#define CMODE_r
Definition: bahamut.h:53
#define CMODE_O
Definition: bahamut.h:57
#define CMODE_m
Definition: bahamut.h:45
#define CMODE_k
Definition: bahamut.h:50
E char * cs_get_limit(ChannelInfo *ci)
Definition: chanserv.c:2458
#define CMODE_c
Definition: bahamut.h:54
E char * get_key(Channel *chan)
Definition: channels.c:1874
#define CMODE_i
Definition: bahamut.h:44
#define CMODE_s
Definition: bahamut.h:48

Definition at line 341 of file rageircd.c.

CBMode myCbmodes[128]

Definition at line 275 of file rageircd.c.

CMMode myCmmodes[128]

Definition at line 225 of file rageircd.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',
0, 0, 0, 0,
'a',
'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 203 of file rageircd.c.

Referenced by AnopeInit().

CUMode myCumodes[128]

Definition at line 361 of file rageircd.c.

IRCDVar myIrcd[]

Definition at line 19 of file rageircd.c.

IRCDCAPAB myIrcdcap[]

Definition at line 118 of file rageircd.c.

unsigned long umodes[128]

Definition at line 152 of file rageircd.c.

Referenced by rageircd_set_umode().