From 8a01e21a489d8d2515679eaf6de9da20431953e9 Mon Sep 17 00:00:00 2001 From: rburchell Date: Tue, 31 Mar 2009 14:44:33 +0000 Subject: Send snotice after connecting to the network. Also change OnServerConnect to take Server*, not a name. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2227 5417fbe8-f217-4b02-8779-1006273d7864 --- src/core/ss_main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/core') diff --git a/src/core/ss_main.c b/src/core/ss_main.c index c92ce5211..e4fb1df15 100644 --- a/src/core/ss_main.c +++ b/src/core/ss_main.c @@ -72,7 +72,8 @@ class SSMain : public Module } } - void OnServerConnect(const std::string &sname) + /** This hack is necessary to replace delayed loading, for now */ + void OnServerConnect(Server *) { statserv = findbot("StatServ"); if (!statserv) -- cgit