#include "services.h"#include "pseudo.h"#include "ptlink.h"#include "version.h"
Go to the source code of this file.
Functions | |
| void | ptlink_cmd_bot_chan_mode (char *nick, char *chan) |
| int | anope_event_sjoin (char *source, int ac, char **av) |
| int | anope_event_newmask (char *source, int ac, char **av) |
| int | anope_event_nick (char *source, int ac, char **av) |
| int | anope_event_server (char *source, int ac, char **av) |
| int | anope_event_436 (char *source, int ac, char **av) |
| void | moduleAddIRCDMsgs (void) |
| int | anope_event_svsinfo (char *source, int ac, char **av) |
| int | anope_event_svinfo (char *source, int ac, char **av) |
| int | anope_event_capab (char *source, int ac, char **av) |
| void | ptlink_cmd_sqline (char *mask, char *reason) |
| void | ptlink_cmd_svsnoop (char *server, int set) |
| void | ptlink_cmd_svsadmin (char *server, int set) |
| void | ptlink_cmd_remove_akill (char *user, char *host) |
| void | anope_part (char *nick, char *chan) |
| void | anope_topic (char *whosets, char *chan, char *whosetit, char *topic, time_t when) |
| void | ptlink_cmd_unsqline (char *user) |
| void | ptlink_cmd_join (char *user, char *channel, time_t chantime) |
| void | ptlink_cmd_akill (char *user, char *host, char *who, time_t when, time_t expires, char *reason) |
| void | ptlink_cmd_svskill (char *source, char *user, char *buf) |
| void | ptlink_cmd_svsmode (User *u, int ac, char **av) |
| int | anope_event_error (char *source, int ac, char **av) |
| void | ptlink_cmd_squit (char *servname, char *message) |
| void | ptlink_cmd_pong (char *servname, char *who) |
| void | ptlink_cmd_svinfo () |
| void | ptlink_cmd_svsinfo () |
| void | ptlink_cmd_pass (char *pass) |
| void | ptlink_cmd_capab () |
| void | ptlink_cmd_server (char *servname, int hop, char *descript) |
| void | ptlink_cmd_connect (int servernum) |
| void | ptlink_cmd_bob () |
| 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_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 | ptlink_cmd_notice_ops (char *source, char *dest, char *buf) |
| void | ptlink_cmd_notice (char *source, char *dest, char *buf) |
| void | ptlink_cmd_notice2 (char *source, char *dest, char *msg) |
| void | ptlink_cmd_privmsg (char *source, char *dest, char *buf) |
| void | ptlink_cmd_privmsg2 (char *source, char *dest, char *msg) |
| void | ptlink_cmd_serv_notice (char *source, char *dest, char *msg) |
| void | ptlink_cmd_serv_privmsg (char *source, char *dest, char *msg) |
| void | ptlink_cmd_global (char *source, char *buf) |
| void | ptlink_cmd_391 (char *source, char *timestr) |
| void | ptlink_cmd_250 (char *buf) |
| void | ptlink_cmd_307 (char *buf) |
| void | ptlink_cmd_311 (char *buf) |
| void | ptlink_cmd_312 (char *buf) |
| void | ptlink_cmd_317 (char *buf) |
| void | ptlink_cmd_219 (char *source, char *letter) |
| void | ptlink_cmd_401 (char *source, char *who) |
| void | ptlink_cmd_318 (char *source, char *who) |
| void | ptlink_cmd_242 (char *buf) |
| void | ptlink_cmd_243 (char *buf) |
| void | ptlink_cmd_211 (char *buf) |
| void | ptlink_cmd_mode (char *source, char *dest, char *buf) |
| void | ptlink_cmd_nick (char *nick, char *name, char *mode) |
| void | ptlink_cmd_kick (char *source, char *chan, char *user, char *buf) |
| void | ptlink_cmd_quit (char *source, char *buf) |
| void | ptlink_cmd_part (char *nick, char *chan, char *buf) |
| void | ptlink_cmd_topic (char *whosets, char *chan, char *whosetit, char *topic, time_t when) |
| void | ptlink_cmd_vhost_off (User *u) |
| void | ptlink_cmd_vhost_on (char *nick, char *vIdent, char *vhost) |
| void | ptlink_cmd_invite (char *source, char *chan, char *nick) |
| void | ptlink_cmd_372 (char *source, char *msg) |
| void | ptlink_cmd_372_error (char *source) |
| void | ptlink_cmd_375 (char *source) |
| void | ptlink_cmd_376 (char *source) |
| void | ptlink_set_umode (User *user, int ac, char **av) |
| int | anope_event_ping (char *source, int ac, char **av) |
| int | anope_event_away (char *source, int ac, char **av) |
| void | ptlink_cmd_bot_nick (char *nick, char *user, char *host, char *real, char *modes) |
| void | ptlink_cmd_351 (char *source) |
| void | ptlink_cmd_svshold (char *nick) |
| void | ptlink_cmd_release_svshold (char *nick) |
| void | ptlink_cmd_unszline (char *mask) |
| void | ptlink_cmd_szline (char *mask, char *reason, char *whom) |
| void | ptlink_cmd_unsgline (char *mask) |
| void | ptlink_cmd_sgline (char *mask, char *reason) |
| void | ptlink_cmd_svsnick (char *source, char *guest, time_t when) |
| void | ptlink_cmd_guest_nick (char *nick, char *user, char *host, char *real, char *modes) |
| void | ptlink_cmd_unban (char *name, char *nick) |
| void | ptlink_cmd_svsmode_chan (char *name, char *mode, char *nick) |
| void | ptlink_cmd_svso (char *source, char *nick, char *flag) |
| void | ptlink_cmd_svid_umode (char *nick, time_t ts) |
| void | ptlink_cmd_nc_change (User *u) |
| void | ptlink_cmd_svid_umode2 (User *u, char *ts) |
| void | ptlink_cmd_svid_umode3 (User *u, char *ts) |
| void | ptlink_cmd_chg_nick (char *oldnick, char *newnick) |
| void | ptlink_cmd_svsjoin (char *source, char *nick, char *chan, char *param) |
| void | ptlink_cmd_svspart (char *source, char *nick, char *chan) |
| void | ptlink_cmd_swhois (char *source, char *who, char *mask) |
| int | anope_event_notice (char *source, int ac, char **av) |
| int | anope_event_pass (char *source, int ac, char **av) |
| 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_invite (char *source, int ac, char **av) |
| int | ptlink_flood_mode_check (char *value) |
| void | ptlink_cmd_eob () |
| void | ptlink_cmd_jupe (char *jserver, char *who, char *reason) |
| void | ptlink_cmd_global_legacy (char *source, char *fmt) |
| int | ptlink_valid_nick (char *nick) |
| int | ptlink_valid_chan (char *cahn) |
| void | ptlink_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] |
| int anope_event_436 | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 534 of file ptlink.c.
References m_nickcoll().
| int anope_event_admin | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
| int anope_event_away | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
| int anope_event_capab | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 662 of file ptlink.c.
References capab_parse().
| int anope_event_credits | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
| int anope_event_error | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
| int anope_event_invite | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
| int anope_event_join | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
| int anope_event_kick | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
| int anope_event_kill | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
| int anope_event_mode | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 954 of file ptlink.c.
References do_cmode(), and do_umode().
| int anope_event_motd | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
| int anope_event_newmask | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 425 of file ptlink.c.
References alog(), change_user_host(), change_user_username(), debug, finduser(), user_::mode, myStrGetOnlyToken(), myStrGetTokenRemainder(), UMODE_NM, and UMODE_VH.
Referenced by moduleAddIRCDMsgs().
| int anope_event_nick | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 501 of file ptlink.c.
References anope_set_umode(), and do_nick().
| int anope_event_notice | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
| int anope_event_part | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
| int anope_event_pass | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
| int anope_event_ping | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 1373 of file ptlink.c.
References ptlink_cmd_pong(), and ServerName.
| int anope_event_privmsg | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 892 of file ptlink.c.
References m_privmsg().
| int anope_event_quit | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
| int anope_event_rehash | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
| int anope_event_server | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
| int anope_event_sjoin | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 408 of file ptlink.c.
References do_sjoin().
| int anope_event_squit | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 932 of file ptlink.c.
References do_squit().
| int anope_event_svinfo | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
| int anope_event_svsinfo | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 651 of file ptlink.c.
Referenced by moduleAddIRCDMsgs().
| int anope_event_topic | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 924 of file ptlink.c.
References do_topic().
| int anope_event_whois | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
| void anope_part | ( | char * | nick, | |
| char * | chan | |||
| ) |
Definition at line 708 of file ptlink.c.
References send_cmd().
| void anope_topic | ( | char * | whosets, | |
| char * | chan, | |||
| char * | whosetit, | |||
| char * | topic, | |||
| time_t | when | |||
| ) |
Definition at line 712 of file ptlink.c.
References send_cmd().
| int AnopeInit | ( | int | argc, | |
| char ** | argv | |||
| ) |
Now tell anope how to use us.
Deal with modes anope _needs_ to know
Definition at line 1773 of file ptlink.c.
References CMODE_i, CMODE_k, CMODE_l, CMODE_p, CMODE_s, moduleAddAnopeCmds(), moduleAddAuthor(), moduleAddIRCDMsgs(), moduleAddVersion(), moduleSetType(), myCsmodes, pmodule_invis_umode(), pmodule_invite_cmode(), pmodule_ircd_cap(), pmodule_ircd_cbmodeinfos(), pmodule_ircd_cbmodes(), pmodule_ircd_cmmodes(), pmodule_ircd_csmodes(), pmodule_ircd_cumodes(), pmodule_ircd_flood_mode_char_remove(), pmodule_ircd_flood_mode_char_set(), pmodule_ircd_useTSMode(), pmodule_ircd_var(), pmodule_ircd_version(), pmodule_key_mode(), pmodule_limit_mode(), pmodule_oper_umode(), pmodule_permchan_mode(), pmodule_private_cmode(), pmodule_secret_cmode(), PROTOCOL, UMODE_i, and UMODE_o.
| 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 1691 of file ptlink.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(), ptlink_cmd_211(), ptlink_cmd_219(), ptlink_cmd_242(), ptlink_cmd_243(), ptlink_cmd_250(), ptlink_cmd_307(), ptlink_cmd_311(), ptlink_cmd_312(), ptlink_cmd_317(), ptlink_cmd_318(), ptlink_cmd_351(), ptlink_cmd_372(), ptlink_cmd_372_error(), ptlink_cmd_375(), ptlink_cmd_376(), ptlink_cmd_391(), ptlink_cmd_401(), ptlink_cmd_akill(), ptlink_cmd_bob(), ptlink_cmd_bot_chan_mode(), ptlink_cmd_bot_nick(), ptlink_cmd_chg_nick(), ptlink_cmd_connect(), ptlink_cmd_ctcp(), ptlink_cmd_eob(), ptlink_cmd_global(), ptlink_cmd_global_legacy(), ptlink_cmd_guest_nick(), ptlink_cmd_invite(), ptlink_cmd_join(), ptlink_cmd_jupe(), ptlink_cmd_kick(), ptlink_cmd_mode(), ptlink_cmd_nc_change(), ptlink_cmd_nick(), ptlink_cmd_notice(), ptlink_cmd_notice2(), ptlink_cmd_notice_ops(), ptlink_cmd_part(), ptlink_cmd_pong(), ptlink_cmd_privmsg(), ptlink_cmd_privmsg2(), ptlink_cmd_quit(), ptlink_cmd_release_svshold(), ptlink_cmd_remove_akill(), ptlink_cmd_serv_notice(), ptlink_cmd_serv_privmsg(), ptlink_cmd_sgline(), ptlink_cmd_sqline(), ptlink_cmd_squit(), ptlink_cmd_svid_umode(), ptlink_cmd_svid_umode2(), ptlink_cmd_svid_umode3(), ptlink_cmd_svshold(), ptlink_cmd_svsjoin(), ptlink_cmd_svskill(), ptlink_cmd_svsmode(), ptlink_cmd_svsmode_chan(), ptlink_cmd_svsnick(), ptlink_cmd_svsnoop(), ptlink_cmd_svso(), ptlink_cmd_svspart(), ptlink_cmd_swhois(), ptlink_cmd_szline(), ptlink_cmd_topic(), ptlink_cmd_unban(), ptlink_cmd_unsgline(), ptlink_cmd_unsqline(), ptlink_cmd_unszline(), ptlink_cmd_vhost_off(), ptlink_cmd_vhost_on(), ptlink_flood_mode_check(), ptlink_set_umode(), ptlink_valid_chan(), and ptlink_valid_nick().
| void moduleAddIRCDMsgs | ( | void | ) |
Definition at line 544 of file ptlink.c.
References addCoreMessage(), anope_event_436(), anope_event_admin(), anope_event_away(), anope_event_capab(), anope_event_credits(), anope_event_error(), anope_event_invite(), anope_event_join(), anope_event_kick(), anope_event_kill(), anope_event_mode(), anope_event_motd(), anope_event_newmask(), anope_event_nick(), anope_event_notice(), anope_event_null(), anope_event_part(), anope_event_pass(), anope_event_ping(), anope_event_privmsg(), anope_event_quit(), anope_event_rehash(), anope_event_server(), anope_event_sjoin(), anope_event_squit(), anope_event_svinfo(), anope_event_svsinfo(), anope_event_topic(), anope_event_whois(), createMessage(), IRCD, and updateProtectDetails().
| void ptlink_cmd_211 | ( | char * | buf | ) |
Definition at line 1180 of file ptlink.c.
References send_cmd().
Referenced by moduleAddAnopeCmds().
| void ptlink_cmd_219 | ( | char * | source, | |
| char * | letter | |||
| ) |
Definition at line 1126 of file ptlink.c.
References send_cmd().
Referenced by moduleAddAnopeCmds().
| void ptlink_cmd_242 | ( | char * | buf | ) |
Definition at line 1160 of file ptlink.c.
References send_cmd().
Referenced by moduleAddAnopeCmds().
| void ptlink_cmd_243 | ( | char * | buf | ) |
Definition at line 1170 of file ptlink.c.
References send_cmd().
Referenced by moduleAddAnopeCmds().
| void ptlink_cmd_250 | ( | char * | buf | ) |
Definition at line 1076 of file ptlink.c.
References send_cmd().
Referenced by moduleAddAnopeCmds().
| void ptlink_cmd_307 | ( | char * | buf | ) |
Definition at line 1086 of file ptlink.c.
References send_cmd(), and ServerName.
Referenced by moduleAddAnopeCmds().
| void ptlink_cmd_311 | ( | char * | buf | ) |
Definition at line 1096 of file ptlink.c.
References send_cmd(), and ServerName.
Referenced by moduleAddAnopeCmds().
| void ptlink_cmd_312 | ( | char * | buf | ) |
Definition at line 1106 of file ptlink.c.
References send_cmd(), and ServerName.
Referenced by moduleAddAnopeCmds().
| void ptlink_cmd_317 | ( | char * | buf | ) |
Definition at line 1116 of file ptlink.c.
References send_cmd(), and ServerName.
Referenced by moduleAddAnopeCmds().
| void ptlink_cmd_318 | ( | char * | source, | |
| char * | who | |||
| ) |
Definition at line 1150 of file ptlink.c.
References send_cmd(), and ServerName.
Referenced by moduleAddAnopeCmds().
| void ptlink_cmd_351 | ( | char * | source | ) |
Definition at line 1401 of file ptlink.c.
References EncModule, ircd, ircdvars_::name, send_cmd(), ServerName, version_build, version_flags, and version_number.
Referenced by moduleAddAnopeCmds().
| void ptlink_cmd_372 | ( | char * | source, | |
| char * | msg | |||
| ) |
Definition at line 1295 of file ptlink.c.
References send_cmd(), and ServerName.
Referenced by moduleAddAnopeCmds().
| void ptlink_cmd_372_error | ( | char * | source | ) |
Definition at line 1300 of file ptlink.c.
References send_cmd(), and ServerName.
Referenced by moduleAddAnopeCmds().
| void ptlink_cmd_375 | ( | char * | source | ) |
Definition at line 1306 of file ptlink.c.
References send_cmd(), and ServerName.
Referenced by moduleAddAnopeCmds().
| void ptlink_cmd_376 | ( | char * | source | ) |
Definition at line 1312 of file ptlink.c.
References send_cmd(), and ServerName.
Referenced by moduleAddAnopeCmds().
| void ptlink_cmd_391 | ( | char * | source, | |
| char * | timestr | |||
| ) |
Definition at line 1067 of file ptlink.c.
References send_cmd(), and ServerName.
Referenced by moduleAddAnopeCmds().
| void ptlink_cmd_401 | ( | char * | source, | |
| char * | who | |||
| ) |
Definition at line 1141 of file ptlink.c.
References send_cmd(), and ServerName.
Referenced by moduleAddAnopeCmds().
| void ptlink_cmd_akill | ( | char * | user, | |
| char * | host, | |||
| char * | who, | |||
| time_t | when, | |||
| time_t | expires, | |||
| char * | reason | |||
| ) |
Definition at line 743 of file ptlink.c.
References send_cmd(), and ServerName.
Referenced by moduleAddAnopeCmds().
| void ptlink_cmd_bob | ( | ) |
Definition at line 886 of file ptlink.c.
Referenced by moduleAddAnopeCmds().
| void ptlink_cmd_bot_chan_mode | ( | char * | nick, | |
| char * | chan | |||
| ) |
Definition at line 392 of file ptlink.c.
References anope_cmd_mode(), ircdvars_::botchanumode, ircd, and s_ChanServ.
Referenced by moduleAddAnopeCmds().
| void ptlink_cmd_bot_nick | ( | char * | nick, | |
| char * | user, | |||
| char * | host, | |||
| char * | real, | |||
| char * | modes | |||
| ) |
Definition at line 1390 of file ptlink.c.
References EnforceQlinedNick(), ptlink_cmd_sqline(), s_BotServ, send_cmd(), and ServerName.
Referenced by moduleAddAnopeCmds().
| void ptlink_cmd_capab | ( | ) |
| void ptlink_cmd_chg_nick | ( | char * | oldnick, | |
| char * | newnick | |||
| ) |
Definition at line 1545 of file ptlink.c.
References send_cmd().
Referenced by moduleAddAnopeCmds().
| void ptlink_cmd_connect | ( | int | servernum | ) |
Definition at line 868 of file ptlink.c.
References me_server, new_server(), ptlink_cmd_capab(), ptlink_cmd_pass(), ptlink_cmd_server(), ptlink_cmd_svinfo(), ptlink_cmd_svsinfo(), RemotePassword, RemotePassword2, RemotePassword3, SERVER_ISME, ServerDesc, and ServerName.
Referenced by moduleAddAnopeCmds().
| void ptlink_cmd_ctcp | ( | char * | source, | |
| char * | dest, | |||
| char * | buf | |||
| ) |
Definition at line 1672 of file ptlink.c.
References normalizeBuffer(), and send_cmd().
Referenced by moduleAddAnopeCmds().
| void ptlink_cmd_eob | ( | ) |
Definition at line 1627 of file ptlink.c.
Referenced by moduleAddAnopeCmds().
| void ptlink_cmd_global | ( | char * | source, | |
| char * | buf | |||
| ) |
Definition at line 1057 of file ptlink.c.
References send_cmd(), and ServerName.
Referenced by moduleAddAnopeCmds().
| void ptlink_cmd_global_legacy | ( | char * | source, | |
| char * | fmt | |||
| ) |
Definition at line 1646 of file ptlink.c.
References send_cmd(), and ServerName.
Referenced by moduleAddAnopeCmds().
| void ptlink_cmd_guest_nick | ( | char * | nick, | |
| char * | user, | |||
| char * | host, | |||
| char * | real, | |||
| char * | modes | |||
| ) |
Definition at line 1485 of file ptlink.c.
References send_cmd(), and ServerName.
Referenced by moduleAddAnopeCmds().
| void ptlink_cmd_invite | ( | char * | source, | |
| char * | chan, | |||
| char * | nick | |||
| ) |
Definition at line 1286 of file ptlink.c.
References send_cmd().
Referenced by moduleAddAnopeCmds().
| void ptlink_cmd_join | ( | char * | user, | |
| char * | channel, | |||
| time_t | chantime | |||
| ) |
Definition at line 729 of file ptlink.c.
References send_cmd(), and ServerName.
Referenced by moduleAddAnopeCmds().
| void ptlink_cmd_jupe | ( | char * | jserver, | |
| char * | who, | |||
| char * | reason | |||
| ) |
Definition at line 1632 of file ptlink.c.
References findserver(), me_server, new_server(), ptlink_cmd_server(), ptlink_cmd_squit(), SERVER_JUPED, servlist, and snprintf().
Referenced by moduleAddAnopeCmds().
| void ptlink_cmd_kick | ( | char * | source, | |
| char * | chan, | |||
| char * | user, | |||
| char * | buf | |||
| ) |
Definition at line 1219 of file ptlink.c.
References send_cmd().
Referenced by moduleAddAnopeCmds().
| void ptlink_cmd_mode | ( | char * | source, | |
| char * | dest, | |||
| char * | buf | |||
| ) |
Definition at line 1189 of file ptlink.c.
References send_cmd().
Referenced by moduleAddAnopeCmds().
| void ptlink_cmd_nc_change | ( | User * | u | ) |
Definition at line 1521 of file ptlink.c.
Referenced by moduleAddAnopeCmds().
| void ptlink_cmd_nick | ( | char * | nick, | |
| char * | name, | |||
| char * | mode | |||
| ) |
Definition at line 1210 of file ptlink.c.
References EnforceQlinedNick(), ptlink_cmd_sqline(), send_cmd(), ServerName, ServiceHost, and ServiceUser.
Referenced by moduleAddAnopeCmds().
| void ptlink_cmd_notice | ( | char * | source, | |
| char * | dest, | |||
| char * | buf | |||
| ) |
Definition at line 1014 of file ptlink.c.
References NI_MSG, NSDefFlags, ptlink_cmd_privmsg2(), and send_cmd().
Referenced by moduleAddAnopeCmds().
| void ptlink_cmd_notice2 | ( | char * | source, | |
| char * | dest, | |||
| char * | msg | |||
| ) |
Definition at line 1027 of file ptlink.c.
References send_cmd().
Referenced by moduleAddAnopeCmds().
| void ptlink_cmd_notice_ops | ( | char * | source, | |
| char * | dest, | |||
| char * | buf | |||
| ) |
Definition at line 1004 of file ptlink.c.
References send_cmd().
Referenced by moduleAddAnopeCmds().
| void ptlink_cmd_part | ( | char * | nick, | |
| char * | chan, | |||
| char * | buf | |||
| ) |
Definition at line 1242 of file ptlink.c.
References send_cmd().
Referenced by moduleAddAnopeCmds().
| void ptlink_cmd_pass | ( | char * | pass | ) |
| void ptlink_cmd_pong | ( | char * | servname, | |
| char * | who | |||
| ) |
Definition at line 805 of file ptlink.c.
References send_cmd().
Referenced by anope_event_ping(), and moduleAddAnopeCmds().
| void ptlink_cmd_privmsg | ( | char * | source, | |
| char * | dest, | |||
| char * | buf | |||
| ) |
Definition at line 1032 of file ptlink.c.
References send_cmd().
Referenced by moduleAddAnopeCmds().
| void ptlink_cmd_privmsg2 | ( | char * | source, | |
| char * | dest, | |||
| char * | msg | |||
| ) |
Definition at line 1041 of file ptlink.c.
References send_cmd().
Referenced by moduleAddAnopeCmds(), and ptlink_cmd_notice().
| void ptlink_cmd_quit | ( | char * | source, | |
| char * | buf | |||
| ) |
Definition at line 1233 of file ptlink.c.
References send_cmd().
Referenced by moduleAddAnopeCmds().
| void ptlink_cmd_release_svshold | ( | char * | nick | ) |
Definition at line 1417 of file ptlink.c.
Referenced by moduleAddAnopeCmds().
| void ptlink_cmd_remove_akill | ( | char * | user, | |
| char * | host | |||
| ) |
| void ptlink_cmd_serv_notice | ( | char * | source, | |
| char * | dest, | |||
| char * | msg | |||
| ) |
Definition at line 1046 of file ptlink.c.
References send_cmd().
Referenced by moduleAddAnopeCmds().
| void ptlink_cmd_serv_privmsg | ( | char * | source, | |
| char * | dest, | |||
| char * | msg | |||
| ) |
Definition at line 1051 of file ptlink.c.
References send_cmd().
Referenced by moduleAddAnopeCmds().
| void ptlink_cmd_server | ( | char * | servname, | |
| int | hop, | |||
| char * | descript | |||
| ) |
Definition at line 863 of file ptlink.c.
References send_cmd(), and version_number_dotted.
Referenced by ptlink_cmd_connect(), and ptlink_cmd_jupe().
| void ptlink_cmd_sgline | ( | char * | mask, | |
| char * | reason | |||
| ) |
Definition at line 1463 of file ptlink.c.
References send_cmd(), and ServerName.
Referenced by moduleAddAnopeCmds().
| void ptlink_cmd_sqline | ( | char * | mask, | |
| char * | reason | |||
| ) |
Definition at line 674 of file ptlink.c.
References send_cmd(), and ServerName.
Referenced by moduleAddAnopeCmds(), ptlink_cmd_bot_nick(), and ptlink_cmd_nick().
| void ptlink_cmd_squit | ( | char * | servname, | |
| char * | message | |||
| ) |
Definition at line 799 of file ptlink.c.
References send_cmd().
Referenced by moduleAddAnopeCmds(), and ptlink_cmd_jupe().
| void ptlink_cmd_svid_umode | ( | char * | nick, | |
| time_t | ts | |||
| ) |
Definition at line 1514 of file ptlink.c.
Referenced by moduleAddAnopeCmds().
| void ptlink_cmd_svid_umode2 | ( | User * | u, | |
| char * | ts | |||
| ) |
Definition at line 1528 of file ptlink.c.
References common_svsmode().
Referenced by moduleAddAnopeCmds().
| void ptlink_cmd_svid_umode3 | ( | User * | u, | |
| char * | ts | |||
| ) |
Definition at line 1533 of file ptlink.c.
Referenced by moduleAddAnopeCmds().
| void ptlink_cmd_svinfo | ( | ) |
Definition at line 819 of file ptlink.c.
References PTLINK_TS_CURRENT, PTLINK_TS_MIN, and send_cmd().
Referenced by ptlink_cmd_connect().
| void ptlink_cmd_svsadmin | ( | char * | server, | |
| int | set | |||
| ) |
Definition at line 692 of file ptlink.c.
References ptlink_cmd_svsnoop().
| void ptlink_cmd_svshold | ( | char * | nick | ) |
Definition at line 1411 of file ptlink.c.
Referenced by moduleAddAnopeCmds().
| void ptlink_cmd_svsinfo | ( | ) |
Definition at line 836 of file ptlink.c.
References maxusercnt, and send_cmd().
Referenced by ptlink_cmd_connect().
| void ptlink_cmd_svsjoin | ( | char * | source, | |
| char * | nick, | |||
| char * | chan, | |||
| char * | param | |||
| ) |
Definition at line 1561 of file ptlink.c.
References send_cmd().
Referenced by moduleAddAnopeCmds().
| void ptlink_cmd_svskill | ( | char * | source, | |
| char * | user, | |||
| char * | buf | |||
| ) |
| void ptlink_cmd_svsmode | ( | User * | u, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 772 of file ptlink.c.
References user_::mode, user_::nick, send_cmd(), ServerName, UMODE_a, UMODE_h, UMODE_N, and UMODE_R.
Referenced by moduleAddAnopeCmds().
| void ptlink_cmd_svsmode_chan | ( | char * | name, | |
| char * | mode, | |||
| char * | nick | |||
| ) |
Definition at line 1501 of file ptlink.c.
Referenced by moduleAddAnopeCmds().
| void ptlink_cmd_svsnick | ( | char * | source, | |
| char * | guest, | |||
| time_t | when | |||
| ) |
Definition at line 1477 of file ptlink.c.
References send_cmd().
Referenced by moduleAddAnopeCmds().
| void ptlink_cmd_svsnoop | ( | char * | server, | |
| int | set | |||
| ) |
Definition at line 687 of file ptlink.c.
References send_cmd().
Referenced by moduleAddAnopeCmds(), and ptlink_cmd_svsadmin().
| void ptlink_cmd_svso | ( | char * | source, | |
| char * | nick, | |||
| char * | flag | |||
| ) |
Definition at line 1506 of file ptlink.c.
Referenced by moduleAddAnopeCmds().
| void ptlink_cmd_svspart | ( | char * | source, | |
| char * | nick, | |||
| char * | chan | |||
| ) |
Definition at line 1573 of file ptlink.c.
References send_cmd().
Referenced by moduleAddAnopeCmds().
| void ptlink_cmd_swhois | ( | char * | source, | |
| char * | who, | |||
| char * | mask | |||
| ) |
Definition at line 1578 of file ptlink.c.
Referenced by moduleAddAnopeCmds().
| void ptlink_cmd_szline | ( | char * | mask, | |
| char * | reason, | |||
| char * | whom | |||
| ) |
Definition at line 1439 of file ptlink.c.
References s_OperServ, and send_cmd().
Referenced by moduleAddAnopeCmds().
| void ptlink_cmd_topic | ( | char * | whosets, | |
| char * | chan, | |||
| char * | whosetit, | |||
| char * | topic, | |||
| time_t | when | |||
| ) |
Definition at line 1259 of file ptlink.c.
References send_cmd().
Referenced by moduleAddAnopeCmds().
| void ptlink_cmd_unban | ( | char * | name, | |
| char * | nick | |||
| ) |
Definition at line 1494 of file ptlink.c.
Referenced by moduleAddAnopeCmds().
| void ptlink_cmd_unsgline | ( | char * | mask | ) |
Definition at line 1450 of file ptlink.c.
References send_cmd(), and ServerName.
Referenced by moduleAddAnopeCmds().
| void ptlink_cmd_unsqline | ( | char * | user | ) |
| void ptlink_cmd_unszline | ( | char * | mask | ) |
Definition at line 1427 of file ptlink.c.
References s_OperServ, and send_cmd().
Referenced by moduleAddAnopeCmds().
| void ptlink_cmd_vhost_off | ( | User * | u | ) |
Definition at line 1266 of file ptlink.c.
Referenced by moduleAddAnopeCmds().
| void ptlink_cmd_vhost_on | ( | char * | nick, | |
| char * | vIdent, | |||
| char * | vhost | |||
| ) |
Definition at line 1271 of file ptlink.c.
References finduser(), user_::mode, s_HostServ, and send_cmd().
Referenced by moduleAddAnopeCmds().
| int ptlink_flood_mode_check | ( | char * | value | ) |
Definition at line 1613 of file ptlink.c.
Referenced by moduleAddAnopeCmds().
| void ptlink_set_umode | ( | User * | user, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 1318 of file ptlink.c.
References alog(), anope_cmd_global(), common_svsmode(), debug, display_news(), is_services_admin(), user_::mode, NEWS_OPER, user_::nick, nick_identified(), opcnt, s_OperServ, umodes, and WallOper.
Referenced by moduleAddAnopeCmds().
| int ptlink_valid_chan | ( | char * | cahn | ) |
Definition at line 1665 of file ptlink.c.
Referenced by moduleAddAnopeCmds().
| int ptlink_valid_nick | ( | char * | nick | ) |
Definition at line 1655 of file ptlink.c.
Referenced by moduleAddAnopeCmds().
{
{'c', CMODE_c, 0, NULL, NULL},
{'d', CMODE_d, 0, NULL, NULL},
{'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},
{'q', CMODE_q, 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},
{'B', CMODE_B, 0, NULL, NULL},
{'C', CMODE_C, 0, NULL, NULL},
{'K', CMODE_K, 0, NULL, NULL},
{'N', CMODE_N, 0, NULL, NULL},
{'O', CMODE_O, 0, NULL, NULL},
{'R', CMODE_R, 0, NULL, NULL},
{'S', CMODE_S, 0, NULL, NULL},
{0}
}
{
{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}
}
| char myCsmodes[128] |
{
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, 'a', 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
}
1.7.1