]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/inspsocket.cpp
Tweaks to backwards memcpy's that dont actually do anything, causing ipv6 address...
[user/henk/code/inspircd.git] / src / inspsocket.cpp
index f408de6ddaf6fe9fb94ab4418e48ecd3e0763524..678583ed0c3b6025c8d7bc67afabc4df79d1461d 100644 (file)
@@ -146,7 +146,7 @@ bool InspSocket::BindAddr()
                std::string IP = Conf.ReadValue("bind","address",j);
                if (Type == "servers")
                {
-                       if ((IP != "*") && (IP != "127.0.0.1") && (IP != ""))
+                       if ((IP != "*") && (IP != "127.0.0.1") && (IP != "") && (IP != "::1"))
                        {
                                insp_sockaddr s;