aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-07-09 04:37:08 +0100
committerMatthew Wild <mwild1@gmail.com>2009-07-09 04:37:08 +0100
commit8460bb4079c46e59d19152d7dcce113a25700504 (patch)
treec43bffab017d226a8c5079566be92f8475e1b173
parent46b622576dd029af33faa1d66130056b4fa8362c (diff)
downloadprosody-8460bb4079c46e59d19152d7dcce113a25700504.tar.gz
prosody-8460bb4079c46e59d19152d7dcce113a25700504.zip
mod_console: Add quit and exit as aliases for 'bye' command
-rw-r--r--plugins/mod_console.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/mod_console.lua b/plugins/mod_console.lua
index 556f0c5d..8d87655d 100644
--- a/plugins/mod_console.lua
+++ b/plugins/mod_console.lua
@@ -134,6 +134,7 @@ function commands.bye(session)
session.print("See you! :)");
session.disconnect();
end
+commands.quit, commands.exit = commands.bye, commands.bye;
commands["!"] = function (session, data)
if data:match("^!!") then