Przeglądaj źródła

Cleaned up some misleading comments

1) global_acc_reg_num_table and global_acc_reg_str_table are used in the login server only and their configuration and access is not shared with any other component.
2) The character server does not check for global_acc_reg_str_table and global_acc_reg_str_table, but for acc_reg_str_table and acc_reg_str_table.
Lemongrass3110 5 lat temu
rodzic
commit
0e826261a6
2 zmienionych plików z 2 dodań i 4 usunięć
  1. 0 2
      conf/inter_athena.conf
  2. 2 2
      src/char/char.cpp

+ 0 - 2
conf/inter_athena.conf

@@ -81,8 +81,6 @@ mysql_reconnect_count: 1
 // Login Database Tables
 login_server_account_db: login
 ipban_table: ipbanlist
-
-// Shared
 global_acc_reg_num_table: global_acc_reg_num
 global_acc_reg_str_table: global_acc_reg_str
 

+ 2 - 2
src/char/char.cpp

@@ -2340,12 +2340,12 @@ bool char_checkdb(void){
 		Sql_ShowDebug(sql_handle);
 		return false;
 	}
-	//checking global_acc_reg_str_table
+	//checking acc_reg_str_table
 	if( SQL_ERROR == Sql_Query(sql_handle, "SELECT `account_id`,`key`,`index`,`value` from `%s` LIMIT 1;", schema_config.acc_reg_str_table) ) {
 		Sql_ShowDebug(sql_handle);
 		return false;
 	}
-	//checking global_acc_reg_num_table
+	//checking acc_reg_num_table
 	if( SQL_ERROR == Sql_Query(sql_handle, "SELECT `account_id`,`key`,`index`,`value` from `%s` LIMIT 1;", schema_config.acc_reg_num_table) ) {
 		Sql_ShowDebug(sql_handle);
 		return false;