diff options
Diffstat (limited to 'src/modules')
-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 ab13708ea..b3aa8c0fa 100644 --- a/src/modules/m_cloaking.cpp +++ b/src/modules/m_cloaking.cpp @@ -326,7 +326,7 @@ class CloakUser : public ModeHandler * vhost. */ - if ((!inet_aton(dest->host,&testaddr)) && (hostcloak.length() < 64)) + if ((insp_aton(dest->host,&testaddr) < 1) && (hostcloak.length() < 64)) { // if they have a hostname, make something appropriate b = hostcloak; |