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.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/pseudoclients/hostserv.cpp b/modules/pseudoclients/hostserv.cpp
index 33d183b9a..d0d078a79 100644
--- a/modules/pseudoclients/hostserv.cpp
+++ b/modules/pseudoclients/hostserv.cpp
@@ -67,7 +67,7 @@ class HostServCore : public Module
EventReturn OnPreHelp(CommandSource &source, const std::vector<Anope::string> &params) anope_override
{
- if (!params.empty() || source.owner->nick != Config->HostServ)
+ if (!params.empty() || source.c || source.service->nick != Config->HostServ)
return EVENT_CONTINUE;
source.Reply(_("%s commands:"), Config->HostServ.c_str());
return EVENT_CONTINUE;