Normalize username strings in command parsing

This commit is contained in:
Brion Vibber 2010-11-29 16:44:40 -08:00
parent 3f0557aa8e
commit 3be352551a
1 changed files with 1 additions and 1 deletions

View File

@ -139,7 +139,7 @@ class Command
{
$user = null;
if (Event::handle('StartCommandGetUser', array($this, $arg, &$user))) {
$user = User::staticGet('nickname', $arg);
$user = User::staticGet('nickname', Nickname::normalize($arg));
}
Event::handle('EndCommandGetUser', array($this, $arg, &$user));
if (!$user){