]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_cloaking.cpp
More cleanup of quit servers
[user/henk/code/inspircd.git] / src / modules / m_cloaking.cpp
index 22114c54e7930a5069fe184e29bcc77f45d66d6a..0405e31dd2d93e530e656db0f47ed879504e7152 100644 (file)
@@ -120,6 +120,10 @@ class ModuleCloaking : public Module
 
  public:
        ModuleCloaking() : cu(this), Hash(this, "hash/md5")
+       {
+       }
+
+       void init()
        {
                OnRehash(NULL);
 
@@ -434,9 +438,6 @@ class ModuleCloaking : public Module
                if (cloak)
                        return;
 
-               if (dest->host.find('.') == std::string::npos && dest->host.find(':') == std::string::npos)
-                       return;
-
                std::string ipstr = dest->GetIPString();
                std::string chost;