summaryrefslogtreecommitdiff
path: root/modules/pseudoclients/hostserv.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/pseudoclients/hostserv.cpp')
-rw-r--r--modules/pseudoclients/hostserv.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/pseudoclients/hostserv.cpp b/modules/pseudoclients/hostserv.cpp
index a6cc6bbb7..bb67ab241 100644
--- a/modules/pseudoclients/hostserv.cpp
+++ b/modules/pseudoclients/hostserv.cpp
@@ -73,11 +73,12 @@ class HostServCore : public Module
this->OnNickIdentify(u);
}
- void OnPreHelp(CommandSource &source, const std::vector<Anope::string> &params)
+ EventReturn OnPreHelp(CommandSource &source, const std::vector<Anope::string> &params)
{
if (!params.empty() || source.owner->nick != Config->HostServ)
- return;
+ return EVENT_CONTINUE;
source.Reply(_("%s commands:\n"), Config->HostServ.c_str());
+ return EVENT_CONTINUE;
}
};