From ab9c1e46513ffd2b44fb30fbc0845e7474d1c5fa Mon Sep 17 00:00:00 2001 From: rburchell Date: Tue, 31 Mar 2009 14:43:04 +0000 Subject: Fix ss_main's client introduction. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2226 5417fbe8-f217-4b02-8779-1006273d7864 --- include/modules.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/modules.h b/include/modules.h index 15cdfc39c..f0da30255 100644 --- a/include/modules.h +++ b/include/modules.h @@ -505,6 +505,11 @@ 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 + */ + virtual void OnServerConnect(const std::string &sname) { } + /** Called when anope saves databases. * NOTE: This event is deprecated pending new database handling. * XXX. @@ -523,7 +528,8 @@ class CoreExport Module enum Implementation { I_BEGIN, - I_OnUserKicked, I_OnReload, I_OnBotAssign, I_OnBotUnAssign, I_OnSaveDatabase, I_OnUserConnect, I_OnBackupDatabase, + I_OnUserKicked, I_OnReload, I_OnBotAssign, I_OnBotUnAssign, I_OnUserConnect, I_OnServerConnect, + I_OnSaveDatabase, I_OnBackupDatabase, I_END }; -- cgit