# HG changeset patch
# User Kim Alvefur <zash@zash.se>
# Date 1343160231 -7200
# Node ID 76f957b44cf72efdf7a0901e835c5106a1df5190
# Parent  af7e563cf4537f8fd64f62e949ca1f08494a052f
mod_admin_telnet: Remove useless call to string.lower()

diff -r af7e563cf453 -r 76f957b44cf7 plugins/mod_admin_telnet.lua
--- a/plugins/mod_admin_telnet.lua	Tue Jul 24 21:37:16 2012 +0200
+++ b/plugins/mod_admin_telnet.lua	Tue Jul 24 22:03:51 2012 +0200
@@ -93,8 +93,7 @@
 				commands["bye"](session, line);
 				break;
 			else
-				local command = line:lower();
-				command = line:match("^%w+") or line:match("%p");
+				local command = line:match("^%w+") or line:match("%p");
 				if commands[command] then
 					commands[command](session, line);
 					break;