summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/servers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/servers.c b/src/servers.c
index 073891fad..640d9c699 100644
--- a/src/servers.c
+++ b/src/servers.c
@@ -403,7 +403,7 @@ void do_server(const char *source, const char *servername, const char *hops,
/* Announce services being online. */
if (GlobalOnCycle && GlobalOnCycleUP)
- notice_server(s_GlobalNoticer, serv, "%s", GlobalOnCycleUP);
+ notice_server(s_GlobalNoticer, s, "%s", GlobalOnCycleUP);
/* Let modules know about the connection */
FOREACH_MOD(I_OnServerConnect, OnServerConnect(s));