diff options
author | jantje_85 <jantje_85@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-10-06 13:08:37 +0000 |
---|---|---|
committer | jantje_85 <jantje_85@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-10-06 13:08:37 +0000 |
commit | 727bcf1fde40813f9bd148064ac377b972a6cdce (patch) | |
tree | 0341d4410a5740c0982441c0255d9f8e27f2be7b /include | |
parent | 699bee06c3a6e69e44f0e5b91d8e2054685c8213 (diff) |
Added option for delayed pseudo-client introduction. (Required for Insp 1.2)
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/stable@2535 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'include')
-rw-r--r-- | include/extern.h | 3 | ||||
-rw-r--r-- | include/services.h | 10 |
2 files changed, 9 insertions, 4 deletions
diff --git a/include/extern.h b/include/extern.h index 8e6c61ed7..050228e6f 100644 --- a/include/extern.h +++ b/include/extern.h @@ -611,6 +611,7 @@ E void set_lastmask(User * u); E void introduce_user(const char *user); E int init_primary(int ac, char **av); E int init_secondary(int ac, char **av); +E void init_tertiary(); E int servernum; /**** ircd.c ****/ @@ -667,6 +668,7 @@ E void pmodule_cmd_chg_nick(void (*func) (char *oldnick, char *newnick)); E void pmodule_cmd_svsnick(void (*func) (char *source, char *guest, time_t when)); E void pmodule_cmd_vhost_on(void (*func) (char *nick, char *vIdent, char *vhost)); E void pmodule_cmd_connect(void (*func) (int servernum)); +E void pmodule_cmd_bob(void (*func) ()); E void pmodule_cmd_svshold(void (*func) (char *nick)); E void pmodule_cmd_release_svshold(void (*func) (char *nick)); E void pmodule_cmd_unsgline(void (*func) (char *mask)); @@ -1245,6 +1247,7 @@ E void anope_cmd_chgident(char *nick, char *vIdent); /* CHG E void anope_cmd_vhost_on(char *nick, char *vIdent, char *vhost); /* CHGHOST + CHGIDENT */ E void anope_cmd_vhost_off(User *u); E void anope_cmd_connect(int servernum); /* Connect */ +E void anope_cmd_bob(); E void anope_cmd_ea(); /* EA */ E void anope_cmd_global(char *source, const char *fmt, ...); /* GLOBOPS */ E void anope_cmd_invite(char *source, char *chan, char *nick); /* INVITE */ diff --git a/include/services.h b/include/services.h index 48e38d53c..81754e8be 100644 --- a/include/services.h +++ b/include/services.h @@ -363,10 +363,11 @@ struct ircdvars_ { char *nickchars; /* character set */ int sync; /* reports sync state */ int cidrchanbei; /* channel bans/excepts/invites support CIDR (syntax: +b *!*@192.168.0.0/15) - * 0 for no support, 1 for strict cidr support, anything else - * for ircd specific support (nefarious only cares about first /mask) */ - int jmode; /* +j join throttle */ - uint32 chan_jmode; /* Mode */ + * 0 for no support, 1 for strict cidr support, anything else + * for ircd specific support (nefarious only cares about first /mask) */ + int jmode; /* +j join throttle */ + uint32 chan_jmode; /* Mode */ + int delay_cl_intro; /*Delay client introduction till after receiving CAPAB. */ }; struct ircdcapab_ { @@ -1195,6 +1196,7 @@ typedef struct ircd_proto_ { void (*ircd_cmd_svsnick)(char *source, char *guest, time_t when); void (*ircd_cmd_vhost_on)(char *nick, char *vIdent, char *vhost); void (*ircd_cmd_connect)(int servernum); + void (*ircd_cmd_bob)(); void (*ircd_cmd_svshold)(char *nick); void (*ircd_cmd_release_svshold)(char *nick); void (*ircd_cmd_unsgline)(char *mask); |