diff options
author | Adam <Adam@anope.org> | 2011-08-25 00:36:04 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2011-09-10 01:58:38 -0400 |
commit | d4db2b84f250b98ec3422f2be9951f567e6dc97e (patch) | |
tree | 3c119be0fa5a5f166664858a0cea0c9344e1db7e /modules/commands/hs_request.cpp | |
parent | bb8e04c83588b6d0595eca463170643a3bd84285 (diff) |
Made the IsValidHost checks configurable
Diffstat (limited to 'modules/commands/hs_request.cpp')
-rw-r--r-- | modules/commands/hs_request.cpp | 2 |
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; |