Show
Ignore:
Timestamp:
11/19/08 13:32:21 (17 years ago)
Author:
yumileroy
Message:

[svn] * Minor code fixes
* Move account related functions from ObjectMgr? to AccountMgr? and drop duplicate functions - source mangos
* recognize the dummy spells 38637, 38638 and 38639 as negative - source mangos
* added new command ".reload all_locales". Now all locales_* tables can be reloaded - source mangos

Original author: KingPin?
Date: 2008-10-20 12:59:45-05:00

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/trinitycore/CliRunnable.cpp

    r78 r79  
    169169    } 
    170170 
    171     uint32 account_id = objmgr.GetAccountByAccountName(acc); 
     171    uint32 account_id = accmgr.GetId(acc); 
    172172    if(!account_id) 
    173173    { 
     
    176176        { 
    177177            std::string acc_name; 
    178             if(!objmgr.GetAccountNameByAccount(account_id,acc_name)) 
     178            if(!accmgr.GetName(account_id,acc_name)) 
    179179            { 
    180180                zprintf("Failed to load the character! Account not exist.\r\n");