diff options
-rw-r--r-- | plugins/mod_console.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/mod_console.lua b/plugins/mod_console.lua index 3a18ec0e..367c46b8 100644 --- a/plugins/mod_console.lua +++ b/plugins/mod_console.lua @@ -70,6 +70,9 @@ function console_listener.listener(conn, data) if data:match("^>") then data = data:gsub("^>", ""); useglobalenv = true; + elseif data == "\004" then + commands["bye"](session, data); + return; else local command = data:lower(); command = data:match("^%w+") or data:match("%p"); |