summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-03-30 14:32:44 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-03-30 14:32:44 +0000
commit3e2ef1c9ff8affb78284d56970e2461abef5c3d3 (patch)
tree9671c339a7c22fb199ce16ced2b34b22e910a0ac
parente2f4bf3a135e6b23fea21b2628c2c830de29cdec (diff)
Change this return type to int from void. WHY didn't this error for me.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9224 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/modules.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules.cpp b/src/modules.cpp
index 1081effa1..1e744e26a 100644
--- a/src/modules.cpp
+++ b/src/modules.cpp
@@ -184,7 +184,7 @@ void Module::OnExpireLine(XLine*) { }
void Module::OnCleanup(int, void*) { }
int Module::OnChannelPreDelete(Channel*) { return 0; }
void Module::OnChannelDelete(Channel*) { }
-void Module::OnSetAway(User*, const std::string &) { }
+int Module::OnSetAway(User*, const std::string &) { }
int Module::OnUserList(User*, Channel*, CUList*&) { return 0; }
int Module::OnWhoisLine(User*, User*, int&, std::string&) { return 0; }
void Module::OnBuildExemptList(MessageType, Channel*, User*, char, CUList&, const std::string&) { }