summaryrefslogtreecommitdiff
path: root/src/configreader.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-04-15 11:42:42 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-04-15 11:42:42 +0000
commitb1d06ea1d3a4a11a8253e0d81c832cb54c3c0946 (patch)
tree9de714767362b63ce90fdfad1ffe37d81437e221 /src/configreader.cpp
parente72a125ccd9ded9f986713b19b919f28fa71c035 (diff)
Feature request outlined in bug #257, allow connect/allow lines by port
Needs QA test git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6798 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/configreader.cpp')
-rw-r--r--src/configreader.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/configreader.cpp b/src/configreader.cpp
index bdc84de0b..56ea49289 100644
--- a/src/configreader.cpp
+++ b/src/configreader.cpp
@@ -612,11 +612,13 @@ void ServerConfig::Read(bool bail, userrec* user)
{"connect",
{"allow", "deny", "password", "timeout", "pingfreq", "flood",
- "threshold", "sendq", "recvq", "localmax", "globalmax", NULL},
+ "threshold", "sendq", "recvq", "localmax", "globalmax", "port",
+ NULL},
{"", "", "", "", "120", "",
- "", "", "", "3", "3", NULL},
+ "", "", "", "3", "3", "0",
+ NULL},
{DT_CHARPTR, DT_CHARPTR, DT_CHARPTR, DT_INTEGER, DT_INTEGER, DT_INTEGER,
- DT_INTEGER, DT_INTEGER, DT_INTEGER, DT_INTEGER, DT_INTEGER},
+ DT_INTEGER, DT_INTEGER, DT_INTEGER, DT_INTEGER, DT_INTEGER, DT_INTEGER},
InitConnect, DoConnect, DoneConnect},
{"uline",