From 8460bb4079c46e59d19152d7dcce113a25700504 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Thu, 9 Jul 2009 04:37:08 +0100 Subject: mod_console: Add quit and exit as aliases for 'bye' command --- plugins/mod_console.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'plugins') 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 -- cgit v1.2.3