summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-11-06 15:58:30 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-11-06 15:58:30 +0000
commitbb0e0bcc5d4da8331f6fb33c879b2d757855722a (patch)
tree4b768273eb0b136ca23f71f1b4504ed34c1ab8b2 /src/common
parent4ecf64221cb558786e4581f4ac7ffa733fa3e4d5 (diff)
downloadhercules-bb0e0bcc5d4da8331f6fb33c879b2d757855722a.tar.gz
hercules-bb0e0bcc5d4da8331f6fb33c879b2d757855722a.tar.bz2
hercules-bb0e0bcc5d4da8331f6fb33c879b2d757855722a.tar.xz
hercules-bb0e0bcc5d4da8331f6fb33c879b2d757855722a.zip
- Ganbantein's delay is now 2 secs.
- Removed the time2 value of NJ_NEN since it has no use. - Removed the return code entry when logging GM reload-GM requests (login-sql),it'll just be stored as zero. - Added a fix on socket.c to not pick INADDR_ANY when choosing our own IP. - Applied the correction on maprespawnguildid so that it parses ALL players and not just those on a map. - TK_JUMPKICK now dispels normal aspd/speed potions (not berserk pitched ones) and Preserve will be unable to block this. - Soul Linkers are now inmune to SA_DISPEL - You can now place everything (except magic skills) on top of LPs. - Corrected Ganbantein to not touch song/dance/ensembles. - Status_calc_pc will refuse to execute if the player is still tagged as a "new connection" and the invocation is not meant to be the first one. - Swapped the order of checks in status_isimmune so that Wand of Hermod skill blocking takes precedence over GTB's - Client packets will all be ignored while a player is not on a map until the LoadEndAck packet is received. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9152 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/common')
-rw-r--r--src/common/socket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/socket.c b/src/common/socket.c
index 65c85a48b..2e52b079f 100644
--- a/src/common/socket.c
+++ b/src/common/socket.c
@@ -1290,7 +1290,7 @@ void socket_init (void)
if(a->sin_family == AF_INET) {
u_long ad = ntohl(a->sin_addr.s_addr);
- if(ad != INADDR_LOOPBACK) {
+ if(ad != INADDR_LOOPBACK && ad != INADDR_ANY) {
addr_[naddr_ ++] = ad;
if(naddr_ == 16)
break;