Go to the source code of this file.
Defines | |
| #define | UMODE_A 0x00000040 |
| #define | UMODE_C 0x00002000 |
| #define | UMODE_I 0x00008000 |
| #define | UMODE_N 0x00000400 |
| #define | UMODE_O 0x00004000 |
| #define | UMODE_Q 0x00001000 |
| #define | UMODE_R 0x08000000 |
| #define | UMODE_S 0x00000080 |
| #define | UMODE_T 0x00000800 |
| #define | UMODE_a 0x00000001 |
| #define | UMODE_b 0x00040000 |
| #define | UMODE_c 0x00010000 |
| #define | UMODE_d 0x00000100 |
| #define | UMODE_e 0x00080000 |
| #define | UMODE_f 0x00100000 |
| #define | UMODE_g 0x00000200 |
| #define | UMODE_h 0x00000002 |
| #define | UMODE_i 0x00000004 |
| #define | UMODE_n 0x00020000 |
| #define | UMODE_o 0x00000008 |
| #define | UMODE_r 0x00000010 |
| #define | UMODE_s 0x00200000 |
| #define | UMODE_w 0x00000020 |
| #define | UMODE_x 0x40000000 |
| #define | CMODE_i 0x00000001 |
| #define | CMODE_m 0x00000002 |
| #define | CMODE_n 0x00000004 |
| #define | CMODE_p 0x00000008 |
| #define | CMODE_s 0x00000010 |
| #define | CMODE_t 0x00000020 |
| #define | CMODE_k 0x00000040 |
| #define | CMODE_l 0x00000080 |
| #define | CMODE_R 0x00000100 |
| #define | CMODE_r 0x00000200 |
| #define | CMODE_c 0x00000400 |
| #define | CMODE_M 0x00000800 |
| #define | CMODE_H 0x00001000 |
| #define | CMODE_O 0x00008000 |
| #define | CMODE_S 0x00020000 |
| #define | CMODE_N 0x01000000 |
| #define | CMODE_P 0x02000000 |
| #define | CMODE_x 0x04000000 |
| #define | DEFAULT_MLOCK CMODE_n | CMODE_t | CMODE_r |
Functions | |
| void | viagra_set_umode (User *user, int ac, char **av) |
| void | viagra_cmd_svsnoop (char *server, int set) |
| void | viagra_cmd_remove_akill (char *user, char *host) |
| void | viagra_cmd_topic (char *whosets, char *chan, char *whosetit, char *topic, time_t when) |
| void | viagra_cmd_vhost_off (User *u) |
| void | viagra_cmd_akill (char *user, char *host, char *who, time_t when, time_t expires, char *reason) |
| void | viagra_cmd_svskill (char *source, char *user, char *buf) |
| void | viagra_cmd_svsmode (User *u, int ac, char **av) |
| void | viagra_cmd_372 (char *source, char *msg) |
| void | viagra_cmd_372_error (char *source) |
| void | viagra_cmd_375 (char *source) |
| void | viagra_cmd_376 (char *source) |
| void | viagra_cmd_nick (char *nick, char *name, char *modes) |
| void | viagra_cmd_guest_nick (char *nick, char *user, char *host, char *real, char *modes) |
| void | viagra_cmd_mode (char *source, char *dest, char *buf) |
| void | viagra_cmd_bot_nick (char *nick, char *user, char *host, char *real, char *modes) |
| void | viagra_cmd_kick (char *source, char *chan, char *user, char *buf) |
| void | viagra_cmd_notice_ops (char *source, char *dest, char *buf) |
| void | viagra_cmd_notice (char *source, char *dest, char *buf) |
| void | viagra_cmd_notice2 (char *source, char *dest, char *msg) |
| void | viagra_cmd_privmsg (char *source, char *dest, char *buf) |
| void | viagra_cmd_privmsg2 (char *source, char *dest, char *msg) |
| void | viagra_cmd_serv_notice (char *source, char *dest, char *msg) |
| void | viagra_cmd_serv_privmsg (char *source, char *dest, char *msg) |
| void | viagra_cmd_bot_chan_mode (char *nick, char *chan) |
| void | viagra_cmd_351 (char *source) |
| void | viagra_cmd_quit (char *source, char *buf) |
| void | viagra_cmd_pong (char *servname, char *who) |
| void | viagra_cmd_join (char *user, char *channel, time_t chantime) |
| void | viagra_cmd_unsqline (char *user) |
| void | viagra_cmd_invite (char *source, char *chan, char *nick) |
| void | viagra_cmd_part (char *nick, char *chan, char *buf) |
| void | viagra_cmd_391 (char *source, char *timestr) |
| void | viagra_cmd_250 (char *buf) |
| void | viagra_cmd_307 (char *buf) |
| void | viagra_cmd_311 (char *buf) |
| void | viagra_cmd_312 (char *buf) |
| void | viagra_cmd_317 (char *buf) |
| void | viagra_cmd_219 (char *source, char *letter) |
| void | viagra_cmd_401 (char *source, char *who) |
| void | viagra_cmd_318 (char *source, char *who) |
| void | viagra_cmd_242 (char *buf) |
| void | viagra_cmd_243 (char *buf) |
| void | viagra_cmd_211 (char *buf) |
| void | viagra_cmd_global (char *source, char *buf) |
| void | viagra_cmd_global_legacy (char *source, char *fmt) |
| void | viagra_cmd_sqline (char *mask, char *reason) |
| void | viagra_cmd_squit (char *servname, char *message) |
| void | viagra_cmd_svso (char *source, char *nick, char *flag) |
| void | viagra_cmd_chg_nick (char *oldnick, char *newnick) |
| void | viagra_cmd_svsnick (char *source, char *guest, time_t when) |
| void | viagra_cmd_vhost_on (char *nick, char *vIdent, char *vhost) |
| void | viagra_cmd_connect (int servernum) |
| void | viagra_cmd_svshold (char *nick) |
| void | viagra_cmd_release_svshold (char *nick) |
| void | viagra_cmd_unsgline (char *mask) |
| void | viagra_cmd_unszline (char *mask) |
| void | viagra_cmd_szline (char *mask, char *reason, char *whom) |
| void | viagra_cmd_sgline (char *mask, char *reason) |
| void | viagra_cmd_unban (char *name, char *nick) |
| void | viagra_cmd_svsmode_chan (char *name, char *mode, char *nick) |
| void | viagra_cmd_svid_umode (char *nick, time_t ts) |
| void | viagra_cmd_nc_change (User *u) |
| void | viagra_cmd_svid_umode2 (User *u, char *ts) |
| void | viagra_cmd_svid_umode3 (User *u, char *ts) |
| void | viagra_cmd_eob () |
| int | viagra_flood_mode_check (char *value) |
| void | viagra_cmd_jupe (char *jserver, char *who, char *reason) |
| int | viagra_valid_nick (char *nick) |
| void | viagra_cmd_ctcp (char *source, char *dest, char *buf) |
| void viagra_cmd_211 | ( | char * | buf | ) |
Definition at line 1310 of file viagra.c.
References send_cmd().
Referenced by moduleAddAnopeCmds().
| void viagra_cmd_219 | ( | char * | source, | |
| char * | letter | |||
| ) |
Definition at line 1256 of file viagra.c.
References send_cmd().
Referenced by moduleAddAnopeCmds().
| void viagra_cmd_242 | ( | char * | buf | ) |
Definition at line 1290 of file viagra.c.
References send_cmd().
Referenced by moduleAddAnopeCmds().
| void viagra_cmd_243 | ( | char * | buf | ) |
Definition at line 1300 of file viagra.c.
References send_cmd().
Referenced by moduleAddAnopeCmds().
| void viagra_cmd_250 | ( | char * | buf | ) |
Definition at line 1206 of file viagra.c.
References send_cmd().
Referenced by moduleAddAnopeCmds().
| void viagra_cmd_307 | ( | char * | buf | ) |
Definition at line 1216 of file viagra.c.
References send_cmd(), and ServerName.
Referenced by moduleAddAnopeCmds().
| void viagra_cmd_311 | ( | char * | buf | ) |
Definition at line 1226 of file viagra.c.
References send_cmd(), and ServerName.
Referenced by moduleAddAnopeCmds().
| void viagra_cmd_312 | ( | char * | buf | ) |
Definition at line 1236 of file viagra.c.
References send_cmd(), and ServerName.
Referenced by moduleAddAnopeCmds().
| void viagra_cmd_317 | ( | char * | buf | ) |
Definition at line 1246 of file viagra.c.
References send_cmd(), and ServerName.
Referenced by moduleAddAnopeCmds().
| void viagra_cmd_318 | ( | char * | source, | |
| char * | who | |||
| ) |
Definition at line 1280 of file viagra.c.
References send_cmd(), and ServerName.
Referenced by moduleAddAnopeCmds().
| void viagra_cmd_351 | ( | char * | source | ) |
Definition at line 1319 of file viagra.c.
References EncModule, ircd, ircdvars_::name, send_cmd(), ServerName, version_build, version_flags, and version_number.
Referenced by moduleAddAnopeCmds().
| void viagra_cmd_372 | ( | char * | source, | |
| char * | msg | |||
| ) |
Definition at line 1353 of file viagra.c.
References send_cmd(), and ServerName.
Referenced by moduleAddAnopeCmds().
| void viagra_cmd_372_error | ( | char * | source | ) |
Definition at line 1358 of file viagra.c.
References send_cmd(), and ServerName.
Referenced by moduleAddAnopeCmds().
| void viagra_cmd_375 | ( | char * | source | ) |
Definition at line 1364 of file viagra.c.
References send_cmd(), and ServerName.
Referenced by moduleAddAnopeCmds().
| void viagra_cmd_376 | ( | char * | source | ) |
Definition at line 1370 of file viagra.c.
References send_cmd(), and ServerName.
Referenced by moduleAddAnopeCmds().
| void viagra_cmd_391 | ( | char * | source, | |
| char * | timestr | |||
| ) |
Definition at line 1197 of file viagra.c.
References send_cmd(), and ServerName.
Referenced by moduleAddAnopeCmds().
| void viagra_cmd_401 | ( | char * | source, | |
| char * | who | |||
| ) |
Definition at line 1271 of file viagra.c.
References send_cmd(), and ServerName.
Referenced by moduleAddAnopeCmds().
| void viagra_cmd_akill | ( | char * | user, | |
| char * | host, | |||
| char * | who, | |||
| time_t | when, | |||
| time_t | expires, | |||
| char * | reason | |||
| ) |
| void viagra_cmd_bot_chan_mode | ( | char * | nick, | |
| char * | chan | |||
| ) |
Definition at line 1385 of file viagra.c.
References anope_cmd_mode(), ircdvars_::botchanumode, and ircd.
Referenced by moduleAddAnopeCmds().
| void viagra_cmd_bot_nick | ( | char * | nick, | |
| char * | user, | |||
| char * | host, | |||
| char * | real, | |||
| char * | modes | |||
| ) |
Definition at line 1326 of file viagra.c.
References EnforceQlinedNick(), s_BotServ, send_cmd(), ServerName, and viagra_cmd_sqline().
Referenced by moduleAddAnopeCmds().
| void viagra_cmd_chg_nick | ( | char * | oldnick, | |
| char * | newnick | |||
| ) |
Definition at line 1478 of file viagra.c.
References send_cmd().
Referenced by moduleAddAnopeCmds().
| void viagra_cmd_connect | ( | int | servernum | ) |
Definition at line 966 of file viagra.c.
References me_server, new_server(), RemotePassword, RemotePassword2, RemotePassword3, SERVER_ISME, ServerDesc, ServerName, viagra_cmd_burst(), viagra_cmd_capab(), viagra_cmd_pass(), viagra_cmd_server(), and viagra_cmd_svinfo().
Referenced by moduleAddAnopeCmds().
| void viagra_cmd_ctcp | ( | char * | source, | |
| char * | dest, | |||
| char * | buf | |||
| ) |
Definition at line 1584 of file viagra.c.
References normalizeBuffer(), and send_cmd().
Referenced by moduleAddAnopeCmds().
| void viagra_cmd_eob | ( | ) |
Definition at line 1539 of file viagra.c.
References send_cmd().
Referenced by moduleAddAnopeCmds().
| void viagra_cmd_global | ( | char * | source, | |
| char * | buf | |||
| ) |
Definition at line 1187 of file viagra.c.
References send_cmd(), and ServerName.
Referenced by moduleAddAnopeCmds().
| void viagra_cmd_global_legacy | ( | char * | source, | |
| char * | fmt | |||
| ) |
Definition at line 1558 of file viagra.c.
References send_cmd(), and ServerName.
Referenced by moduleAddAnopeCmds().
| void viagra_cmd_guest_nick | ( | char * | nick, | |
| char * | user, | |||
| char * | host, | |||
| char * | real, | |||
| char * | modes | |||
| ) |
Definition at line 1417 of file viagra.c.
References send_cmd(), and ServerName.
Referenced by moduleAddAnopeCmds().
| void viagra_cmd_invite | ( | char * | source, | |
| char * | chan, | |||
| char * | nick | |||
| ) |
Definition at line 1376 of file viagra.c.
References send_cmd().
Referenced by moduleAddAnopeCmds().
| void viagra_cmd_join | ( | char * | user, | |
| char * | channel, | |||
| time_t | chantime | |||
| ) |
| void viagra_cmd_jupe | ( | char * | jserver, | |
| char * | who, | |||
| char * | reason | |||
| ) |
Definition at line 1544 of file viagra.c.
References findserver(), me_server, new_server(), SERVER_JUPED, servlist, snprintf(), viagra_cmd_server(), and viagra_cmd_squit().
Referenced by moduleAddAnopeCmds().
| void viagra_cmd_kick | ( | char * | source, | |
| char * | chan, | |||
| char * | user, | |||
| char * | buf | |||
| ) |
Definition at line 1335 of file viagra.c.
References send_cmd().
Referenced by moduleAddAnopeCmds().
| void viagra_cmd_mode | ( | char * | source, | |
| char * | dest, | |||
| char * | buf | |||
| ) |
Definition at line 868 of file viagra.c.
References ircdcap, send_cmd(), ircdcapab_::tsmode, and uplink_capab.
Referenced by moduleAddAnopeCmds().
| void viagra_cmd_nc_change | ( | User * | u | ) |
Definition at line 1457 of file viagra.c.
References common_svsmode().
Referenced by moduleAddAnopeCmds().
| void viagra_cmd_nick | ( | char * | nick, | |
| char * | name, | |||
| char * | modes | |||
| ) |
Definition at line 1344 of file viagra.c.
References EnforceQlinedNick(), send_cmd(), ServerName, ServiceHost, ServiceUser, and viagra_cmd_sqline().
Referenced by moduleAddAnopeCmds().
| void viagra_cmd_notice | ( | char * | source, | |
| char * | dest, | |||
| char * | buf | |||
| ) |
Definition at line 1144 of file viagra.c.
References NI_MSG, NSDefFlags, send_cmd(), and viagra_cmd_privmsg2().
Referenced by moduleAddAnopeCmds().
| void viagra_cmd_notice2 | ( | char * | source, | |
| char * | dest, | |||
| char * | msg | |||
| ) |
Definition at line 1157 of file viagra.c.
References send_cmd().
Referenced by moduleAddAnopeCmds().
| void viagra_cmd_notice_ops | ( | char * | source, | |
| char * | dest, | |||
| char * | buf | |||
| ) |
Definition at line 1136 of file viagra.c.
References send_cmd().
Referenced by moduleAddAnopeCmds().
| void viagra_cmd_part | ( | char * | nick, | |
| char * | chan, | |||
| char * | buf | |||
| ) |
| void viagra_cmd_pong | ( | char * | servname, | |
| char * | who | |||
| ) |
Definition at line 925 of file viagra.c.
References send_cmd().
Referenced by anope_event_ping(), and moduleAddAnopeCmds().
| void viagra_cmd_privmsg | ( | char * | source, | |
| char * | dest, | |||
| char * | buf | |||
| ) |
Definition at line 1162 of file viagra.c.
References send_cmd().
Referenced by moduleAddAnopeCmds().
| void viagra_cmd_privmsg2 | ( | char * | source, | |
| char * | dest, | |||
| char * | msg | |||
| ) |
Definition at line 1171 of file viagra.c.
References send_cmd().
Referenced by moduleAddAnopeCmds(), and viagra_cmd_notice().
| void viagra_cmd_quit | ( | char * | source, | |
| char * | buf | |||
| ) |
| void viagra_cmd_release_svshold | ( | char * | nick | ) |
| void viagra_cmd_remove_akill | ( | char * | user, | |
| char * | host | |||
| ) |
| void viagra_cmd_serv_notice | ( | char * | source, | |
| char * | dest, | |||
| char * | msg | |||
| ) |
Definition at line 1176 of file viagra.c.
References send_cmd().
Referenced by moduleAddAnopeCmds().
| void viagra_cmd_serv_privmsg | ( | char * | source, | |
| char * | dest, | |||
| char * | msg | |||
| ) |
Definition at line 1181 of file viagra.c.
References send_cmd().
Referenced by moduleAddAnopeCmds().
| void viagra_cmd_sgline | ( | char * | mask, | |
| char * | reason | |||
| ) |
| void viagra_cmd_sqline | ( | char * | mask, | |
| char * | reason | |||
| ) |
Definition at line 745 of file viagra.c.
References send_cmd().
Referenced by moduleAddAnopeCmds(), viagra_cmd_bot_nick(), and viagra_cmd_nick().
| void viagra_cmd_squit | ( | char * | servname, | |
| char * | message | |||
| ) |
Definition at line 919 of file viagra.c.
References send_cmd().
Referenced by moduleAddAnopeCmds(), and viagra_cmd_jupe().
| void viagra_cmd_svid_umode | ( | char * | nick, | |
| time_t | ts | |||
| ) |
Definition at line 1449 of file viagra.c.
References send_cmd(), and ServerName.
Referenced by moduleAddAnopeCmds().
| void viagra_cmd_svid_umode2 | ( | User * | u, | |
| char * | ts | |||
| ) |
| void viagra_cmd_svid_umode3 | ( | User * | u, | |
| char * | ts | |||
| ) |
Definition at line 1468 of file viagra.c.
References common_svsmode(), user_::svid, and user_::timestamp.
Referenced by moduleAddAnopeCmds().
| void viagra_cmd_svshold | ( | char * | nick | ) |
| void viagra_cmd_svskill | ( | char * | source, | |
| char * | user, | |||
| char * | buf | |||
| ) |
| void viagra_cmd_svsmode | ( | User * | u, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 912 of file viagra.c.
References user_::nick, send_cmd(), ServerName, and user_::timestamp.
Referenced by moduleAddAnopeCmds().
| void viagra_cmd_svsmode_chan | ( | char * | name, | |
| char * | mode, | |||
| char * | nick | |||
| ) |
Definition at line 1438 of file viagra.c.
References send_cmd(), and ServerName.
Referenced by moduleAddAnopeCmds(), and viagra_cmd_unban().
| void viagra_cmd_svsnick | ( | char * | source, | |
| char * | guest, | |||
| time_t | when | |||
| ) |
Definition at line 1409 of file viagra.c.
References send_cmd().
Referenced by moduleAddAnopeCmds().
| void viagra_cmd_svsnoop | ( | char * | server, | |
| int | set | |||
| ) |
Definition at line 769 of file viagra.c.
References send_cmd().
Referenced by moduleAddAnopeCmds(), and viagra_cmd_svsadmin().