# HG changeset patch # User Matthew Wild # Date 1247110628 -3600 # Node ID 5970e06d93351b980e92437350462f5e5741c797 # Parent 0f895c06e03f7c6addbaba6166eaa023ff416e9a mod_console: Add quit and exit as aliases for 'bye' command diff -r 0f895c06e03f -r 5970e06d9335 plugins/mod_console.lua --- a/plugins/mod_console.lua Thu Jul 09 04:34:55 2009 +0100 +++ b/plugins/mod_console.lua Thu Jul 09 04:37:08 2009 +0100 @@ -134,6 +134,7 @@ session.print("See you! :)"); session.disconnect(); end +commands.quit, commands.exit = commands.bye, commands.bye; commands["!"] = function (session, data) if data:match("^!!") then