mirror of
https://github.com/anope/anope.git
synced 2026-07-06 11: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:
+18
-6
@@ -765,6 +765,20 @@ int init_secondary(int ac, char **av)
|
||||
strerror(openlog_errno));
|
||||
}
|
||||
|
||||
if (!ircd->delay_cl_intro)
|
||||
init_tertiary();
|
||||
|
||||
/* Success! */
|
||||
return 0;
|
||||
}
|
||||
|
||||
/*************************************************************************/
|
||||
|
||||
void init_tertiary()
|
||||
{
|
||||
/* Begin our burst..*/
|
||||
anope_cmd_bob();
|
||||
|
||||
/* Bring in our pseudo-clients */
|
||||
introduce_user(NULL);
|
||||
|
||||
@@ -774,16 +788,14 @@ int init_secondary(int ac, char **av)
|
||||
anope_cmd_join(s_GlobalNoticer, LogChannel, time(NULL));
|
||||
}
|
||||
|
||||
/* End our burst.. */
|
||||
anope_cmd_eob();
|
||||
|
||||
/**
|
||||
* Load our delayed modeles - modules that are planing on making clients need to wait till now
|
||||
* where as modules wanting to modify our ircd connection messages need to load eariler :|
|
||||
**/
|
||||
* Load our delayed modeles - modules that are planing on making clients need to wait till now
|
||||
* where as modules wanting to modify our ircd connection messages need to load eariler :|
|
||||
**/
|
||||
modules_delayed_init();
|
||||
|
||||
/* Success! */
|
||||
return 0;
|
||||
}
|
||||
|
||||
/*************************************************************************/
|
||||
|
||||
Reference in New Issue
Block a user