summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
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
};