summaryrefslogtreecommitdiff
path: root/src/core/ss_main.c
diff options
context:
space:
mode:
authorrburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864>2009-03-31 14:44:33 +0000
committerrburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864>2009-03-31 14:44:33 +0000
commit8a01e21a489d8d2515679eaf6de9da20431953e9 (patch)
tree747eb5fe469d41e5110bf3cd3cb4fe42b540f004 /src/core/ss_main.c
parentab9c1e46513ffd2b44fb30fbc0845e7474d1c5fa (diff)
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
Diffstat (limited to 'src/core/ss_main.c')
-rw-r--r--src/core/ss_main.c3
1 files changed, 2 insertions, 1 deletions
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)