From 3be352551a979cc3e89e0a2b8f950949b932a304 Mon Sep 17 00:00:00 2001
From: Brion Vibber <brion@pobox.com>
Date: Mon, 29 Nov 2010 16:44:40 -0800
Subject: [PATCH] Normalize username strings in command parsing

---
 lib/command.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/command.php b/lib/command.php
index ae69f04a13..2a8075e7ba 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){
-- 
2.39.5