Changeset

1503:5970e06d9335

mod_console: Add quit and exit as aliases for 'bye' command
author Matthew Wild <mwild1@gmail.com>
date Thu, 09 Jul 2009 04:37:08 +0100
parents 1502:0f895c06e03f
children 1504:9d8c35e98ca2
files plugins/mod_console.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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