diff options
author | adam- <adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-08-19 01:54:13 +0000 |
---|---|---|
committer | adam- <adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-08-19 01:54:13 +0000 |
commit | 8d247130d4df32072209b9a8bd3455803bf0f6e6 (patch) | |
tree | bfbf0c22c2457ec392a8f4cdf572e5b9af96d807 /src | |
parent | 89e05fb880380bb2fb40729c8b5237c2c68a2e54 (diff) |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/hs_request.c | 2 |
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> ¶ms) { - if (service == s_HostServ) + if (s_HostServ && service == s_HostServ) { if (command == "LIST") { |