diff options
-rw-r--r-- | src/inspircd_io.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/inspircd_io.cpp b/src/inspircd_io.cpp index d452a3dbe..a467a9ad5 100644 --- a/src/inspircd_io.cpp +++ b/src/inspircd_io.cpp @@ -335,6 +335,12 @@ void ServerConfig::Read(bool bail, userrec* user) { c.threshold = atoi(thold); } + else + { + c.threshold = 1; + c.flood = 999; + log(DEFAULT,"Warning: Connect allow line '%s' has no flood/threshold settings. Setting this tag to 999 lines in 1 second.",c.host.c_str()); + } if (atoi(sqmax)>0) { c.sendqmax = atoi(sqmax); |