diff options
author | Kim Alvefur <zash@zash.se> | 2012-07-24 22:03:51 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2012-07-24 22:03:51 +0200 |
commit | 4866b29bb88dfc504c313e2a2a0562d1b71f7771 (patch) | |
tree | 1f391398a90ba6f3cf17dcaad78a24286aed4307 /plugins/mod_admin_telnet.lua | |
parent | 04ae0b2698f5948738e48bc26b8ea3da739f673a (diff) | |
download | prosody-4866b29bb88dfc504c313e2a2a0562d1b71f7771.tar.gz prosody-4866b29bb88dfc504c313e2a2a0562d1b71f7771.zip |
mod_admin_telnet: Remove useless call to string.lower()
Diffstat (limited to 'plugins/mod_admin_telnet.lua')
-rw-r--r-- | plugins/mod_admin_telnet.lua | 3 |
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; |