From 6cf521b4ce07b75cb628ddc831faa792efe0a7ab Mon Sep 17 00:00:00 2001 From: Lance Date: Wed, 31 May 2006 15:53:45 +0000 Subject: [Fixed]: - Incorrect SQL syntax in login.c (missing collumn) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6892 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/login_sql/login.c | 2 +- src/map/npc.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/login_sql/login.c b/src/login_sql/login.c index b72f13e9e..699655bff 100644 --- a/src/login_sql/login.c +++ b/src/login_sql/login.c @@ -397,7 +397,7 @@ int mmo_auth_sqldb_init(void) { if (log_login) { - sprintf(tmpsql, "INSERT DELAYED INTO `%s`(`time`,`ip`,`user`,`rcode`,`log`) VALUES (NOW(), '0', '100','login server started')", loginlog_db); + sprintf(tmpsql, "INSERT DELAYED INTO `%s`(`time`,`ip`,`user`,`rcode`,`log`) VALUES (NOW(), '0', 'lserver','100','login server started')", loginlog_db); //query if (mysql_query(&mysql_handle, tmpsql)) { diff --git a/src/map/npc.c b/src/map/npc.c index 1daef3534..8f9e95431 100644 --- a/src/map/npc.c +++ b/src/map/npc.c @@ -2952,6 +2952,7 @@ int do_init_npc(void) fake_nd->speed = 200; fake_nd->u.scr.script = NULL; fake_nd->u.scr.src_id = 0; + fake_nd->chatdb = NULL; for (i = 0; i < MAX_EVENTTIMER; i++) fake_nd->eventtimer[i] = -1; strcpy(fake_nd->name,"FAKE_NPC"); -- cgit v1.2.3-70-g09d2