summaryrefslogtreecommitdiff
path: root/modules/commands/hs_request.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/commands/hs_request.cpp')
-rw-r--r--modules/commands/hs_request.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/hs_request.cpp b/modules/commands/hs_request.cpp
index 861448240..75bb7994d 100644
--- a/modules/commands/hs_request.cpp
+++ b/modules/commands/hs_request.cpp
@@ -99,7 +99,7 @@ class CommandHSRequest : public Command
return;
}
- if (!isValidHost(host, 3))
+ if (!IsValidHost(host))
{
source.Reply(HOST_SET_ERROR);
return;