summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/inspircd.conf.example2
-rw-r--r--src/inspircd.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/docs/inspircd.conf.example b/docs/inspircd.conf.example
index c304cd5ce..6b4c03f8f 100644
--- a/docs/inspircd.conf.example
+++ b/docs/inspircd.conf.example
@@ -135,7 +135,7 @@
# #
<connect allow="196.12.*" password="secret">
-<connect allow="*" timeout="60" flood="10" timeout="60" pingfreq="120" sendq="131072">
+<connect allow="*" timeout="60" flood="10" timeout="60" pingfreq="120" sendq="262144">
<connect deny="69.254.*">
diff --git a/src/inspircd.cpp b/src/inspircd.cpp
index 714ab6a8a..a4e9b1934 100644
--- a/src/inspircd.cpp
+++ b/src/inspircd.cpp
@@ -475,7 +475,7 @@ void ReadConfig(bool bail, userrec* user)
c.pingtime = 120;
c.flood = atoi(flood);
c.threshold = 5;
- c.sendqmax = 131072;
+ c.sendqmax = 262144; // 256k
if (atoi(thold)>0)
{
c.threshold = atoi(thold);
@@ -2539,7 +2539,7 @@ void AddClient(int socket, char* host, int port, bool iscached, char* ip)
unsigned long class_regtimeout = 90;
int class_flood = 0;
long class_threshold = 5;
- long class_sqmax = 131072; // 128kb
+ long class_sqmax = 262144; // 256kb
for (ClassVector::iterator i = Classes.begin(); i != Classes.end(); i++)
{