Software / code / prosody
Changeset
5007:76f957b44cf7
mod_admin_telnet: Remove useless call to string.lower()
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Tue, 24 Jul 2012 22:03:51 +0200 |
| parents | 5006:af7e563cf453 |
| children | 5008:28498f29fdd8 |
| files | plugins/mod_admin_telnet.lua |
| diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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;