Software /
code /
prosody
Diff
plugins/mod_admin_telnet.lua @ 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 |
parent | 5006:af7e563cf453 |
child | 5011:83b4d3727b4f |
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;