]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_hostchange.cpp
Make end of netburst SNOMASK REMOTELINK unless servers are directly linked [jackmcbarn]
[user/henk/code/inspircd.git] / src / modules / m_hostchange.cpp
index b681a4648038c26aaf005e6471cad4c4b2ab45c6..a35b2fd5d44de4ce482a064b4a633bf0f207885c 100644 (file)
@@ -107,7 +107,7 @@ class ModuleHostChange : public Module
                                        bool foundany = false;
 
                                        while ((portno = portrange.GetToken()))
-                                               if (portno == user->GetPort())
+                                               if (portno == user->GetServerPort())
                                                        foundany = true;
 
                                        if (!foundany)