]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Fixed so that ONLY ports of type "" or type "clients" are bound by the core, *everyth...
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Mon, 16 Jan 2006 15:03:21 +0000 (15:03 +0000)
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Mon, 16 Jan 2006 15:03:21 +0000 (15:03 +0000)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2813 e03df62e-2008-0410-955e-edbf42e46eb7

src/inspircd_io.cpp

index 6ded651403bf537c4713cc2a34e3fd3eeaf2f162..bb7691ce539b3714f925e5b05d5057da8299f086 100644 (file)
@@ -1138,7 +1138,7 @@ int BindPorts()
                 Config->ConfValue("bind","port",count,configToken,&Config->config_f);
                 Config->ConfValue("bind","address",count,Addr,&Config->config_f);
                 Config->ConfValue("bind","type",count,Type,&Config->config_f);
-                if (strcmp(Type,"servers"))
+                if ((!*Type) || (!strcmp(Type,"clients")))
                 {
                         // modules handle server bind types now,
                         // its not a typo in the strcmp.