From a75714ca455c728d34918dd12200fcec87ebc0d4 Mon Sep 17 00:00:00 2001 From: Haru Date: Sat, 24 Jan 2015 03:42:16 +0100 Subject: Fixed 18 minor issues Signed-off-by: Haru --- src/char/inter.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/char/inter.c') diff --git a/src/char/inter.c b/src/char/inter.c index 5af9a6aab..eb14f1593 100644 --- a/src/char/inter.c +++ b/src/char/inter.c @@ -690,9 +690,11 @@ int inter_accreg_fromsql(int account_id,int char_id, int fd, int type) if( SQL_ERROR == SQL->Query(inter->sql_handle, "SELECT `key`, `index`, `value` FROM `%s` WHERE `account_id`='%d'", acc_reg_num_db, account_id) ) Sql_ShowDebug(inter->sql_handle); break; +#if 0 // This is already checked above. case 1: //account2 reg ShowError("inter->accreg_fromsql: Char server shouldn't handle type 1 registry values (##). That is the login server's work!\n"); return 0; +#endif // 0 } WFIFOHEAD(fd, 60000 + 300); -- cgit v1.2.3-60-g2f50