diff -r 1ca7a247d04f -r 099364ec1ab2 plugins/mod_console.lua --- a/plugins/mod_console.lua Wed Jul 29 18:11:37 2009 +0100 +++ b/plugins/mod_console.lua Fri Jul 31 17:19:05 2009 +0100 @@ -70,6 +70,9 @@ 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");