summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/modules/hs_request.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/hs_request.c b/src/modules/hs_request.c
index c2b9d77bf..6b064cdba 100644
--- a/src/modules/hs_request.c
+++ b/src/modules/hs_request.c
@@ -693,7 +693,7 @@ class HSRequest : public Module
EventReturn OnPreCommand(User *u, const std::string &service, const ci::string &command, const std::vector<ci::string> &params)
{
- if (service == s_HostServ)
+ if (s_HostServ && service == s_HostServ)
{
if (command == "LIST")
{