aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2012-07-24 22:03:51 +0200
committerKim Alvefur <zash@zash.se>2012-07-24 22:03:51 +0200
commit4866b29bb88dfc504c313e2a2a0562d1b71f7771 (patch)
tree1f391398a90ba6f3cf17dcaad78a24286aed4307 /plugins
parent04ae0b2698f5948738e48bc26b8ea3da739f673a (diff)
downloadprosody-4866b29bb88dfc504c313e2a2a0562d1b71f7771.tar.gz
prosody-4866b29bb88dfc504c313e2a2a0562d1b71f7771.zip
mod_admin_telnet: Remove useless call to string.lower()
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_admin_telnet.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/mod_admin_telnet.lua b/plugins/mod_admin_telnet.lua
index 17e5babc..b698d200 100644
--- a/plugins/mod_admin_telnet.lua
+++ b/plugins/mod_admin_telnet.lua
@@ -93,8 +93,7 @@ function console_listener.onincoming(conn, data)
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;