Skip to content

Commit

Permalink
Fix MOTD display
Browse files Browse the repository at this point in the history
* Fixes #235
  • Loading branch information
tigerw committed Mar 6, 2021
1 parent 5dbe68f commit 96419d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ function Initialize(Plugin)
cPluginManager:AddHook(cPluginManager.HOOK_KILLING, OnKilling)
cPluginManager:AddHook(cPluginManager.HOOK_PLAYER_BREAKING_BLOCK, OnPlayerBreakingBlock)
cPluginManager:AddHook(cPluginManager.HOOK_PLAYER_JOINED, OnPlayerJoined)
cPluginManager:AddHook(cPluginManager.HOOK_PLAYER_JOINED, OnPlayerJoined_WebChat)
cPluginManager:AddHook(cPluginManager.HOOK_PLAYER_MOVING, OnPlayerMoving)
cPluginManager:AddHook(cPluginManager.HOOK_PLAYER_PLACING_BLOCK, OnPlayerPlacingBlock)
cPluginManager:AddHook(cPluginManager.HOOK_PLAYER_RIGHT_CLICK, OnPlayerRightClick)
Expand Down
2 changes: 1 addition & 1 deletion web_chat.lua
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ end



function OnPlayerJoined(Player)
function OnPlayerJoined_WebChat(Player)
WEBLOGINFO(Player:GetName() .. " has joined the game")
end

Expand Down

0 comments on commit 96419d2

Please sign in to comment.