diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-01-16 15:03:21 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-01-16 15:03:21 +0000 |
commit | 7a0c2b695ca5fbb398c6293a53456edeb5af4a8d (patch) | |
tree | 2714e9665794bf23b048d9e69748db32e33a88d6 /src | |
parent | 73e65d1d242c161e2aaa13d19bee28be2c04cb64 (diff) |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/inspircd_io.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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. |