From 7a0c2b695ca5fbb398c6293a53456edeb5af4a8d Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 16 Jan 2006 15:03:21 +0000 Subject: Fixed so that ONLY ports of type "" or type "clients" are bound by the core, *everything else* is passed over now, not just "servers" type. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2813 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/inspircd_io.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/inspircd_io.cpp') diff --git a/src/inspircd_io.cpp b/src/inspircd_io.cpp index 6ded65140..bb7691ce5 100644 --- a/src/inspircd_io.cpp +++ b/src/inspircd_io.cpp @@ -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. -- cgit v1.2.3