Skip to content

Commit

Permalink
Merge pull request #8 from Seadragon91/patch-1
Browse files Browse the repository at this point in the history
Use new InfoReg.lua
  • Loading branch information
madmaxoft committed Oct 27, 2015
2 parents 624580e + 604f231 commit ac6ad21
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 152 deletions.
1 change: 1 addition & 0 deletions CommandHandlers.lua
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,7 @@ function HandleListUsers(a_Split, a_Player)
-- Command syntax: /protection user list AreaID
if (#a_Split ~= 4) then
a_Player:SendMessage(g_Msgs.ErrExpectedAreaID);
return true
end

-- Get the general info about the area
Expand Down
151 changes: 0 additions & 151 deletions InfoReg.lua

This file was deleted.

3 changes: 2 additions & 1 deletion ProtectionAreas.lua
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ function Initialize(a_Plugin)
return false;
end
InitializeHooks(a_Plugin);
RegisterPluginInfoCommands();
dofile(cPluginManager:GetPluginsPath() .. "/InfoReg.lua")
RegisterPluginInfoCommands()

-- We might be reloading, so there may be players already present in the server; reload all of them
cRoot:Get():ForEachWorld(
Expand Down

0 comments on commit ac6ad21

Please sign in to comment.