From 44d36c6801173abb7f67c5cf9b932844a5067771 Mon Sep 17 00:00:00 2001 From: "Tai @ Flex" Date: Tue, 28 Feb 2017 20:03:25 +0000 Subject: [PATCH] split default modes into their parts --- default_modes.lua | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 default_modes.lua diff --git a/default_modes.lua b/default_modes.lua deleted file mode 100644 index c122cbf..0000000 --- a/default_modes.lua +++ /dev/null @@ -1,22 +0,0 @@ - --- The default-default mode - just get all player names and send message to all -chat_modes.register("shout", function() - return { - public = true, - players = conplayers, - } -end) - --- Channel mode - -local playerchannels = {} - -chat_modes.register("channel", function(params) - local channelname = params - -- Switch to a channel - if not playerchannels[channelname] then - playerchannels[channelname] = {} - end - - -end)