diff options
author | rburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-02-16 23:48:03 +0000 |
---|---|---|
committer | rburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-02-16 23:48:03 +0000 |
commit | d07de70fc3156e143beeb04c0e2bbfb592415ead (patch) | |
tree | c6f246b68054048f12bf9527c9179014eb544102 /include/modules.h | |
parent | c1c9e17d7995f7e6684316f6dc71d1b43788533f (diff) |
Move EVENT_RELOAD to OnReload.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2103 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'include/modules.h')
-rw-r--r-- | include/modules.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/modules.h b/include/modules.h index 0ec78cb47..cdd76301b 100644 --- a/include/modules.h +++ b/include/modules.h @@ -104,7 +104,7 @@ enum Priority { PRIORITY_FIRST, PRIORITY_DONTCARE, PRIORITY_LAST, PRIORITY_BEFOR enum Implementation { I_BEGIN, - I_OnUserKicked, + I_OnUserKicked, I_OnReload, I_END }; @@ -490,6 +490,11 @@ class CoreExport Module * NOTE: We may want to add a second User arg for sender in the future. */ virtual void OnUserKicked(Channel *c, User *target, const std::string &kickmsg) { } + + /** Called when Services' configuration has been loaded. + * @param startup True if Services is starting for the first time, false otherwise. + */ + virtual void OnReload(bool startup) {} }; |