diff options
author | Brion Vibber <brion@pobox.com> | 2010-11-29 16:44:40 -0800 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-11-29 16:44:40 -0800 |
commit | 3be352551a979cc3e89e0a2b8f950949b932a304 (patch) | |
tree | 34c3adc6ddbff724a3dddf8f4e02398fecada73e | |
parent | 3f0557aa8efa715e288c731178a27e8d4914a1a7 (diff) |
Normalize username strings in command parsing
-rw-r--r-- | lib/command.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/command.php b/lib/command.php index ae69f04a1..2a8075e7b 100644 --- a/lib/command.php +++ b/lib/command.php @@ -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){ |