summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2010-11-29 16:44:40 -0800
committerBrion Vibber <brion@pobox.com>2010-11-29 16:44:40 -0800
commit3be352551a979cc3e89e0a2b8f950949b932a304 (patch)
tree34c3adc6ddbff724a3dddf8f4e02398fecada73e
parent3f0557aa8efa715e288c731178a27e8d4914a1a7 (diff)
Normalize username strings in command parsing
-rw-r--r--lib/command.php2
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){