summaryrefslogtreecommitdiff
path: root/modules/pseudoclients/operserv.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/pseudoclients/operserv.cpp')
-rw-r--r--modules/pseudoclients/operserv.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/pseudoclients/operserv.cpp b/modules/pseudoclients/operserv.cpp
index 2cf4d2a28..c30809e49 100644
--- a/modules/pseudoclients/operserv.cpp
+++ b/modules/pseudoclients/operserv.cpp
@@ -327,11 +327,12 @@ class OperServCore : public Module
return EVENT_CONTINUE;
}
- 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->OperServ)
- return;
+ return EVENT_CONTINUE;
source.Reply(_("%s commands:"), Config->OperServ.c_str());
+ return EVENT_CONTINUE;
}
};