summaryrefslogtreecommitdiff
path: root/src/common/socket.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-09-19 02:58:40 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-09-19 02:58:40 +0000
commitb97753dfe8dec3dc954f8f44c039cd994e59a1b0 (patch)
tree5defc680e9cbfbce4f937aead79666290b85bf31 /src/common/socket.c
parenta5e721f8cf55f3e174f70412ef4a6f11aaa40a59 (diff)
downloadhercules-b97753dfe8dec3dc954f8f44c039cd994e59a1b0.tar.gz
hercules-b97753dfe8dec3dc954f8f44c039cd994e59a1b0.tar.bz2
hercules-b97753dfe8dec3dc954f8f44c039cd994e59a1b0.tar.xz
hercules-b97753dfe8dec3dc954f8f44c039cd994e59a1b0.zip
- Fixed Spider Web fire damage bonus.
- Made Global chat always reply back to you even on @/# commands, this prevents the client from muting yourself due to "hack". However, this same fix isn't easily applicable to @ commands invoked from whispers or party/guild messages, those are still pending. - Some fixes in socket.c git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8801 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/common/socket.c')
-rw-r--r--src/common/socket.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/common/socket.c b/src/common/socket.c
index 3209008c5..450f6d09b 100644
--- a/src/common/socket.c
+++ b/src/common/socket.c
@@ -62,7 +62,10 @@ int ip_rules = 1;
#define TCP_FRAME_LEN 1024
#endif
-#ifndef MINCORE
+static int mode_neg=1;
+static int frame_size=TCP_FRAME_LEN;
+
+#ifndef MINICORE
enum {
ACO_DENY_ALLOW=0,
ACO_ALLOW_DENY,
@@ -75,8 +78,6 @@ static int access_order=ACO_DENY_ALLOW;
static int access_allownum=0;
static int access_denynum=0;
static int access_debug=0;
-static int mode_neg=1;
-static int frame_size=TCP_FRAME_LEN;
static int ddos_count = 10;
static int ddos_interval = 3000;
static int ddos_autoreset = 600*1000;