aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
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;