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 --- include/modules.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/modules.h b/include/modules.h index f0da30255..8b0144d85 100644 --- a/include/modules.h +++ b/include/modules.h @@ -506,9 +506,9 @@ class CoreExport Module virtual void OnUserConnect(User *u) { } /** Called when a new server connects to the network. - * @param sname The server name that is connecting + * @param s The server that has connected to the network */ - virtual void OnServerConnect(const std::string &sname) { } + virtual void OnServerConnect(Server *s) { } /** Called when anope saves databases. * NOTE: This event is deprecated pending new database handling. -- cgit