summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorrburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864>2009-02-19 00:22:46 +0000
committerrburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864>2009-02-19 00:22:46 +0000
commit23f5e9de79047b448282d6984db3f12511b751eb (patch)
tree81f30ef738acc2c2f12f6e7327f729e20d9d39e1 /include
parent6c1d764c4ff6901456b9df55727d7e80d0aa76c8 (diff)
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
Diffstat (limited to 'include')
-rw-r--r--include/events.h2
-rw-r--r--include/modules.h7
2 files changed, 6 insertions, 3 deletions
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
};