diff options
author | Matthew Wild <mwild1@gmail.com> | 2009-07-09 04:37:08 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2009-07-09 04:37:08 +0100 |
commit | 8460bb4079c46e59d19152d7dcce113a25700504 (patch) | |
tree | c43bffab017d226a8c5079566be92f8475e1b173 /plugins | |
parent | 46b622576dd029af33faa1d66130056b4fa8362c (diff) | |
download | prosody-8460bb4079c46e59d19152d7dcce113a25700504.tar.gz prosody-8460bb4079c46e59d19152d7dcce113a25700504.zip |
mod_console: Add quit and exit as aliases for 'bye' command
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mod_console.lua | 1 |
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 |