summaryrefslogtreecommitdiffstats
path: root/MCServer/Plugins
diff options
context:
space:
mode:
authorfaketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-09-08 22:49:29 +0200
committerfaketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-09-08 22:49:29 +0200
commit6bc916fc3ccb63ebded52c42b8f9daa3627c6eb9 (patch)
tree621f7959a61f9b054876e87613b0a56583e15813 /MCServer/Plugins
parentAnother fix for the case-sensitiveness. WTF, STL allows different signatures for Debug and Release builds? (diff)
downloadcuberite-6bc916fc3ccb63ebded52c42b8f9daa3627c6eb9.tar
cuberite-6bc916fc3ccb63ebded52c42b8f9daa3627c6eb9.tar.gz
cuberite-6bc916fc3ccb63ebded52c42b8f9daa3627c6eb9.tar.bz2
cuberite-6bc916fc3ccb63ebded52c42b8f9daa3627c6eb9.tar.lz
cuberite-6bc916fc3ccb63ebded52c42b8f9daa3627c6eb9.tar.xz
cuberite-6bc916fc3ccb63ebded52c42b8f9daa3627c6eb9.tar.zst
cuberite-6bc916fc3ccb63ebded52c42b8f9daa3627c6eb9.zip
Diffstat (limited to 'MCServer/Plugins')
-rw-r--r--MCServer/Plugins/Core/main.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/MCServer/Plugins/Core/main.lua b/MCServer/Plugins/Core/main.lua
index 6b4af5533..b6599bce7 100644
--- a/MCServer/Plugins/Core/main.lua
+++ b/MCServer/Plugins/Core/main.lua
@@ -101,7 +101,7 @@ function Initialize( Plugin )
end
-- Load whitelist, and add default values and stuff
- WhiteListIni = cIniFile("whitelist.ini")
+ WhiteListIni = cIniFile( Plugin:GetLocalDirectory() .. "/whitelist.ini" )
if ( WhiteListIni:ReadFile() == true ) then
if( WhiteListIni:GetValueB("WhiteListSettings", "WhiteListOn", false) == true ) then
if( WhiteListIni:GetNumValues("WhiteList") > 0 ) then
@@ -121,7 +121,7 @@ function Initialize( Plugin )
end
-- Load banned players, and add default values and stuff
- BannedPlayersIni = cIniFile("banned.ini")
+ BannedPlayersIni = cIniFile( Plugin:GetLocalDirectory() .. "/banned.ini" )
if ( BannedPlayersIni:ReadFile() == true ) then
if( BannedPlayersIni:GetNumValues("Banned") > 0 ) then
LOGINFO("Core: loaded " .. BannedPlayersIni:GetNumValues("Banned") .. " banned players.")