[7851] Fixed typo to allow work '.tele name' command.

This commit is contained in:
VladimirMangos 2009-05-19 01:35:51 +04:00
parent 0838475415
commit e712baa58c
2 changed files with 2 additions and 2 deletions

View file

@ -2024,7 +2024,7 @@ bool ChatHandler::HandleTeleNameCommand(const char * args)
Player* target;
uint64 target_guid;
std::string target_name;
if(!extractPlayerTarget(teleStr,&target,&target_guid,&target_name))
if(!extractPlayerTarget(nameStr,&target,&target_guid,&target_name))
return false;
// id, or string, or [name] Shift-click form |color|Htele:id|h[name]|h|r

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "7850"
#define REVISION_NR "7851"
#endif // __REVISION_NR_H__