diff options
author | madmaxoft <github@xoft.cz> | 2013-08-21 22:03:50 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2013-08-21 22:03:50 +0200 |
commit | 268661990dbfde430383ce21d9684e37ee2135d9 (patch) | |
tree | b9961de605d657fa89f5a5e6a3d2a7df8113c101 /MCServer/Plugins/ChatLog | |
parent | Updated the Debuggers plugin to the #121 API. (diff) | |
download | cuberite-268661990dbfde430383ce21d9684e37ee2135d9.tar cuberite-268661990dbfde430383ce21d9684e37ee2135d9.tar.gz cuberite-268661990dbfde430383ce21d9684e37ee2135d9.tar.bz2 cuberite-268661990dbfde430383ce21d9684e37ee2135d9.tar.lz cuberite-268661990dbfde430383ce21d9684e37ee2135d9.tar.xz cuberite-268661990dbfde430383ce21d9684e37ee2135d9.tar.zst cuberite-268661990dbfde430383ce21d9684e37ee2135d9.zip |
Diffstat (limited to '')
-rw-r--r-- | MCServer/Plugins/ChatLog/plugin.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/MCServer/Plugins/ChatLog/plugin.lua b/MCServer/Plugins/ChatLog/plugin.lua index c2f6fb81a..adbf986e0 100644 --- a/MCServer/Plugins/ChatLog/plugin.lua +++ b/MCServer/Plugins/ChatLog/plugin.lua @@ -13,8 +13,7 @@ function Initialize(Plugin) Plugin:SetName("ChatLog") Plugin:SetVersion(3) - PluginManager = cRoot:Get():GetPluginManager() - PluginManager:AddHook(Plugin, cPluginManager.HOOK_CHAT) + cPluginManager.AddHook(cPluginManager.HOOK_CHAT, OnChat) LOG("Initialized " .. Plugin:GetName() .. " v." .. Plugin:GetVersion()) return true |