summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_cloaking.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_cloaking.cpp b/src/modules/m_cloaking.cpp
index ab3256632..37adc3488 100644
--- a/src/modules/m_cloaking.cpp
+++ b/src/modules/m_cloaking.cpp
@@ -342,7 +342,7 @@ class CloakUser : public ModeHandler
* vhost.
*/
- if ((insp_aton(dest->host,&testaddr) < 1) && (hostcloak.length() < 64))
+ if ((insp_aton(dest->host,&testaddr) < 1) && (hostcloak.length() <= 64))
{
// if they have a hostname, make something appropriate
b = hostcloak;