From 3e2ef1c9ff8affb78284d56970e2461abef5c3d3 Mon Sep 17 00:00:00 2001 From: w00t Date: Sun, 30 Mar 2008 14:32:44 +0000 Subject: 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 --- src/modules.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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&) { } -- cgit v1.2.3