From 23f5e9de79047b448282d6984db3f12511b751eb Mon Sep 17 00:00:00 2001 From: rburchell Date: Thu, 19 Feb 2009 00:22:46 +0000 Subject: Move last of events that are in the core distro over to newevents. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2115 5417fbe8-f217-4b02-8779-1006273d7864 --- include/events.h | 2 -- include/modules.h | 7 ++++++- 2 files changed, 6 insertions(+), 3 deletions(-) (limited to 'include') diff --git a/include/events.h b/include/events.h index 59447f06a..29b08c3e7 100644 --- a/include/events.h +++ b/include/events.h @@ -15,8 +15,6 @@ #define EVENT_START "start" //#define EVENT_STOP "stop" -#define EVENT_DB_BACKUP "db_backup" -#define EVENT_NEWNICK "newnick" #define EVENT_BOT_JOIN "bot_join" #define EVENT_BOT_CREATE "bot_create" #define EVENT_BOT_CHANGE "bot_change" diff --git a/include/modules.h b/include/modules.h index 51ffea816..3af5f3bd9 100644 --- a/include/modules.h +++ b/include/modules.h @@ -522,6 +522,11 @@ class CoreExport Module * XXX. */ virtual void OnSaveDatabase() MARK_DEPRECATED { } + + /** Called when anope backs up databases. + * NOTE: This event is deprecated pending new database handling. + */ + virtual void OnBackupDatabase() MARK_DEPRECATED { } }; @@ -530,7 +535,7 @@ class CoreExport Module enum Implementation { I_BEGIN, - I_OnUserKicked, I_OnReload, I_OnBotAssign, I_OnBotUnAssign, I_OnSaveDatabase, I_OnUserConnect, + I_OnUserKicked, I_OnReload, I_OnBotAssign, I_OnBotUnAssign, I_OnSaveDatabase, I_OnUserConnect, I_OnBackupDatabase, I_END }; -- cgit