From 3be352551a979cc3e89e0a2b8f950949b932a304 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Mon, 29 Nov 2010 16:44:40 -0800 Subject: Normalize username strings in command parsing --- lib/command.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/command.php') 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){ -- cgit v1.2.3-54-g00ecf