diff options
Diffstat (limited to 'modules/commands/bs_bot.cpp')
-rw-r--r-- | modules/commands/bs_bot.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/commands/bs_bot.cpp b/modules/commands/bs_bot.cpp index 02af6b340..e4f88856f 100644 --- a/modules/commands/bs_bot.cpp +++ b/modules/commands/bs_bot.cpp @@ -69,8 +69,8 @@ class CommandBSBot : public Command return; } - /* Check the host is valid re RFC 2812 */ - if (!isValidHost(host, 3)) + /* Check the host is valid */ + if (!IsValidHost(host)) { source.Reply(_("Bot Hosts may only contain valid host characters.")); return; @@ -186,7 +186,7 @@ class CommandBSBot : public Command return; } - if (!host.empty() && !isValidHost(host, 3)) + if (!host.empty() && !IsValidHost(host)) { source.Reply(_("Bot Hosts may only contain valid host characters.")); return; |