diff options
author | om <om@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-11-12 16:03:39 +0000 |
---|---|---|
committer | om <om@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-11-12 16:03:39 +0000 |
commit | ab6fd7011088302860612b790bb7491557c9c68a (patch) | |
tree | 2c681cccd1ae98eb7c4725d6200c24155e29ec80 | |
parent | 74e081f98e81097c94a6eede15c1f2b7a0d6c0e4 (diff) |
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
-rw-r--r-- | src/modules/m_cloaking.cpp | 2 |
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; |