From 8d247130d4df32072209b9a8bd3455803bf0f6e6 Mon Sep 17 00:00:00 2001 From: adam- Date: Wed, 19 Aug 2009 01:54:13 +0000 Subject: Fixed a crash when using commands if HostServ is disabled git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2453 5417fbe8-f217-4b02-8779-1006273d7864 --- src/modules/hs_request.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules') 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 ¶ms) { - if (service == s_HostServ) + if (s_HostServ && service == s_HostServ) { if (command == "LIST") { -- cgit