summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorViper <Viper@Anope.org>2011-04-28 21:00:46 +0200
committerViper <Viper@Anope.org>2011-04-28 21:00:46 +0200
commit01946cb46701aed6161e96ec8455bfacd8c3b164 (patch)
tree66ca44fe4dfac7d38541a919c78edab45460bd4d /include
parent0e0538408dac890d23e888c5692924cb7fc64e6c (diff)
Added events for module loading/unloading and command creation/deletion.
Enables modules expanding on other modules to adjust hooks if needed. - Related to bug #1263.
Diffstat (limited to 'include')
-rw-r--r--include/events.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/events.h b/include/events.h
index 1fca188df..2c221b2a0 100644
--- a/include/events.h
+++ b/include/events.h
@@ -64,3 +64,7 @@
#define EVENT_ACCESS_CLEAR "access_clear"
#define EVENT_NICK_LOGOUT "nick_logout"
#define EVENT_CHAN_KICK "chan_kick"
+#define EVENT_MODLOAD "modload"
+#define EVENT_MODUNLOAD "modunload"
+#define EVENT_ADDCOMMAND "addcommand"
+#define EVENT_DELCOMMAND "delcommand"