summaryrefslogtreecommitdiff
path: root/src/inspircd_io.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/inspircd_io.cpp')
-rw-r--r--src/inspircd_io.cpp2
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.