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 | b27ef47ca4af1b2aad018806ddff4cececd163a1 (patch) | |
tree | 1f391398a90ba6f3cf17dcaad78a24286aed4307 | |
parent | 61ea70dcd6a33bd54e681df7ae89fa1c0916dbdc (diff) | |
download | prosody-b27ef47ca4af1b2aad018806ddff4cececd163a1.tar.gz prosody-b27ef47ca4af1b2aad018806ddff4cececd163a1.zip |
mod_admin_telnet: Remove useless call to string.lower()
-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; |