From: Brion Vibber Date: Tue, 30 Nov 2010 00:44:40 +0000 (-0800) Subject: Normalize username strings in command parsing X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3be352551a979cc3e89e0a2b8f950949b932a304;p=quix0rs-gnu-social.git Normalize username strings in command parsing --- 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){