summaryrefslogtreecommitdiff
path: root/src/modules.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-06-01 16:38:00 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-06-01 16:38:00 +0000
commit878e437589ee448bc2e87200890cbd446accfc68 (patch)
tree93002a1f7100e4abd8eeee988bf5672de3c491e0 /src/modules.cpp
parentee10c76ebbf3a31012b637d744c3d87493a806c3 (diff)
Added OnLoadModule and OnUnloadModule (OnLoadModule was not triggering)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1586 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules.cpp')
-rw-r--r--src/modules.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules.cpp b/src/modules.cpp
index 6f2fc82ec..35372a71e 100644
--- a/src/modules.cpp
+++ b/src/modules.cpp
@@ -330,6 +330,7 @@ string_list Module::OnChannelSync(chanrec* chan) { string_list empty; return emp
void Module::On005Numeric(std::string &output) { };
int Module::OnKill(userrec* source, userrec* dest, std::string reason) { return 0; };
void Module::OnLoadModule(Module* mod,std::string name) { };
+void Module::OnUnloadModule(Module* mod,std::string name) { };
void Module::OnBackgroundTimer(time_t curtime) { };
void Module::OnSendList(userrec* user, chanrec* channel, char mode) { };
int Module::OnPreCommand(std::string command, char **parameters, int pcnt, userrec *user) { return 0; };