summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorribosome ribosome@31f1291d-b8d6-0310-a050-a5561fc1590b <ribosome ribosome@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2005-03-28 16:44:20 +0000
committerribosome ribosome@31f1291d-b8d6-0310-a050-a5561fc1590b <ribosome ribosome@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2005-03-28 16:44:20 +0000
commitcd1213e22f0b4365072d93cc9a37e1bf2f5a30af (patch)
treee38a29fa989e7035c88c89ab48bf10824eb4072e /src
parentb58eb5f7f25171538b91abc389fc1bf1835bada9 (diff)
BUILD : 1.7.8 (649) BUGS : 336 NOTES : Moved code for GlobalOnCycleUP to after the server has connected.
git-svn-id: svn://svn.anope.org/anope/trunk@649 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@497 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src')
-rw-r--r--src/init.c6
-rw-r--r--src/servers.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/src/init.c b/src/init.c
index 8c3ad6380..87a2e91fb 100644
--- a/src/init.c
+++ b/src/init.c
@@ -725,12 +725,6 @@ int init(int ac, char **av)
**/
modules_delayed_init();
- /* Write the StartGlobal */
- if (GlobalOnCycle) {
- if (GlobalOnCycleUP)
- oper_global(NULL, "%s", GlobalOnCycleUP);
- }
-
/* Success! */
return 0;
}
diff --git a/src/servers.c b/src/servers.c
index 5c8e253f6..b2ca4975d 100644
--- a/src/servers.c
+++ b/src/servers.c
@@ -338,6 +338,12 @@ void do_server(const char *source, char *servername, char *hops,
new_server(s, servername, descript, 0, numeric);
send_event(EVENT_SERVER_CONNECT, servername);
+
+ /* Write the StartGlobal */
+ if (GlobalOnCycle) {
+ if (GlobalOnCycleUP)
+ server_global(s, GlobalOnCycleUP);
+ }
}
/*************************************************************************/