From 98d574f05ea46763fc9e762b0719ab3ef2271230 Mon Sep 17 00:00:00 2001 From: madmaxoft Date: Fri, 16 Aug 2013 09:20:05 +0200 Subject: No more Core in the MCServer repo --- MCServer/Plugins/Core/do.lua | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100644 MCServer/Plugins/Core/do.lua (limited to 'MCServer/Plugins/Core/do.lua') diff --git a/MCServer/Plugins/Core/do.lua b/MCServer/Plugins/Core/do.lua deleted file mode 100644 index 6ac7e96cd..000000000 --- a/MCServer/Plugins/Core/do.lua +++ /dev/null @@ -1,29 +0,0 @@ -function HandleDoCommand( Split, Player ) - - if #Split < 3 then - SendMessage( "Usage: /do [arguments]" ) - return true - end - - -- Get the command and arguments. - local newSplit = table.concat( Split, " ", 3 ) - - local pluginManager = cRoot:Get():GetPluginManager() - pluginManager:ExecuteCommand( Split[2], newSplit ) - -end - -function HandleSudoCommand ( Split, Player ) - - if #Split < 3 then - SendMessage( "Usage: /sudo [arguments]" ) - return true - end - - -- Get the command and arguments. - local newSplit = table.concat( Split, " ", 3 ) - - local pluginManager = cRoot:Get():GetPluginManager() - pluginManager:ForceExecuteCommand( Split[2], newSplit ) - -end -- cgit v1.2.3