1
0
mirror of https://github.com/anope/anope.git synced 2026-07-06 15:13:13 +02:00

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
This commit is contained in:
jantje_85
2009-10-06 13:08:37 +00:00
parent 699bee06c3
commit 727bcf1fde
40 changed files with 182 additions and 20 deletions
+3
View File
@@ -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 */
+6 -4
View File
@@ -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);