summaryrefslogtreecommitdiff
path: root/src/char/char.c
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-11-19 02:53:03 -0200
committershennetsind <ind@henn.et>2013-11-19 02:53:03 -0200
commit1667c050a7a4b2a0dd699d0a174a071a692322dd (patch)
tree69ae3565bf05831e4c3855cdbbe842558f1afb47 /src/char/char.c
parent242bc9fc39c90364dcf5f1a73a6d759efeef0ffd (diff)
downloadhercules-1667c050a7a4b2a0dd699d0a174a071a692322dd.tar.gz
hercules-1667c050a7a4b2a0dd699d0a174a071a692322dd.tar.bz2
hercules-1667c050a7a4b2a0dd699d0a174a071a692322dd.tar.xz
hercules-1667c050a7a4b2a0dd699d0a174a071a692322dd.zip
Fixed Bug 7840
Special Thanks to kyeme for all the debug information and help! http://hercules.ws/board/tracker/issue-7840-char-server-crash/ Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/char/char.c')
-rw-r--r--src/char/char.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/char/char.c b/src/char/char.c
index a1c6f73b1..63b47cfcf 100644
--- a/src/char/char.c
+++ b/src/char/char.c
@@ -1004,7 +1004,7 @@ int mmo_chars_fromsql(struct char_session_data* sd, uint8* buf)
struct mmo_charstatus p;
int j = 0, i;
char last_map[MAP_NAME_LENGTH_EXT];
- time_t unban_time;
+ time_t unban_time = 0;
stmt = SQL->StmtMalloc(sql_handle);
if( stmt == NULL ) {