summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changes1
-rw-r--r--src/init.c6
-rw-r--r--src/servers.c6
-rw-r--r--version.log6
4 files changed, 12 insertions, 7 deletions
diff --git a/Changes b/Changes
index dfa971e05..4b32cdd24 100644
--- a/Changes
+++ b/Changes
@@ -10,6 +10,7 @@ Provided by Anope Dev. <dev@anope.org> - 2005
02/13 A Internal Event support, see EVENTS in the doc folder for help [ #00]
02/05 A Support for Unreal 3.2 +I channel mode. [ #00]
02/03 A Merged anope-win32 branch into the main, now Win32 ready. [ #00]
+03/28 F Moved where GlobalOnCycleUP is located so it now works. [#336]
03/28 F Fixed the change display name function to update correct db table.[#337]
03/28 F Changed the ultimate3 usermode for SRA. [#326]
03/28 F Segfault on joining unregistered channels in some cases. [#327]
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);
+ }
}
/*************************************************************************/
diff --git a/version.log b/version.log
index a4bb639ec..b8291c73c 100644
--- a/version.log
+++ b/version.log
@@ -8,10 +8,14 @@
VERSION_MAJOR="1"
VERSION_MINOR="7"
VERSION_PATCH="8"
-VERSION_BUILD="648"
+VERSION_BUILD="649"
# $Log$
#
+# BUILD : 1.7.8 (649)
+# BUGS : 336
+# NOTES : Moved code for GlobalOnCycleUP to after the server has connected.
+#
# BUILD : 1.7.8 (648)
# BUGS : 337
# NOTES : Fixed the db query for anope_cs_akicks in display name change function.