diff options
author | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-04-07 13:49:13 +0000 |
---|---|---|
committer | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-04-07 13:49:13 +0000 |
commit | 58862dd12a898cbf75f099a2613ed6540325ce90 (patch) | |
tree | 09ad6e5ee90a839a8ed1138eaf9f660d410de28e /src/map/npc.c | |
parent | cbf0ed85bcaac6e044dee6b0af2f31cacb903af4 (diff) | |
download | hercules-58862dd12a898cbf75f099a2613ed6540325ce90.tar.gz hercules-58862dd12a898cbf75f099a2613ed6540325ce90.tar.bz2 hercules-58862dd12a898cbf75f099a2613ed6540325ce90.tar.xz hercules-58862dd12a898cbf75f099a2613ed6540325ce90.zip |
Removed the 'wait close' timer that closed a session's socket after 5 seconds.
This was causing random disconnects when logging in. (bugreport:1330)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12520 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/npc.c')
-rw-r--r-- | src/map/npc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/npc.c b/src/map/npc.c index 98a03d2cd..78a7390cd 100644 --- a/src/map/npc.c +++ b/src/map/npc.c @@ -1266,7 +1266,7 @@ int npc_selllist(struct map_session_data* sd, int n, unsigned short* item_list) //any item as deleted even though a few were sold. In such a case, we //have no recourse but to kick them out so their inventory will refresh //correctly on relog. [Skotlex] - if (i) clif_setwaitclose(sd->fd); + if (i) set_eof(sd->fd); return 1; } return 0; |