Changeset 79 for trunk/src/trinitycore/CliRunnable.cpp
- Timestamp:
- 11/19/08 13:32:21 (17 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/trinitycore/CliRunnable.cpp
r78 r79 169 169 } 170 170 171 uint32 account_id = objmgr.GetAccountByAccountName(acc);171 uint32 account_id = accmgr.GetId(acc); 172 172 if(!account_id) 173 173 { … … 176 176 { 177 177 std::string acc_name; 178 if(! objmgr.GetAccountNameByAccount(account_id,acc_name))178 if(!accmgr.GetName(account_id,acc_name)) 179 179 { 180 180 zprintf("Failed to load the character! Account not exist.\r\n");