From ab6fd7011088302860612b790bb7491557c9c68a Mon Sep 17 00:00:00 2001 From: om Date: Sun, 12 Nov 2006 16:03:39 +0000 Subject: And change < 64 to <= 64, the length limit is 64 - not 63 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5711 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_cloaking.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3