diff options
author | Alexander Harkness <bearbin@gmail.com> | 2013-08-03 09:37:43 +0200 |
---|---|---|
committer | Alexander Harkness <bearbin@gmail.com> | 2013-08-03 09:37:43 +0200 |
commit | f14b0ec7fd15e5b7e1819327c07e6198160d422c (patch) | |
tree | ffd926c89b67b5a9825701df47fc68101f5458cf /MCServer/Plugins/Core/onlogin.lua | |
parent | Merge pull request #37 from tigerw/master (diff) | |
download | cuberite-f14b0ec7fd15e5b7e1819327c07e6198160d422c.tar cuberite-f14b0ec7fd15e5b7e1819327c07e6198160d422c.tar.gz cuberite-f14b0ec7fd15e5b7e1819327c07e6198160d422c.tar.bz2 cuberite-f14b0ec7fd15e5b7e1819327c07e6198160d422c.tar.lz cuberite-f14b0ec7fd15e5b7e1819327c07e6198160d422c.tar.xz cuberite-f14b0ec7fd15e5b7e1819327c07e6198160d422c.tar.zst cuberite-f14b0ec7fd15e5b7e1819327c07e6198160d422c.zip |
Diffstat (limited to 'MCServer/Plugins/Core/onlogin.lua')
-rw-r--r-- | MCServer/Plugins/Core/onlogin.lua | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/MCServer/Plugins/Core/onlogin.lua b/MCServer/Plugins/Core/onlogin.lua index cc79bb0ae..6826305b2 100644 --- a/MCServer/Plugins/Core/onlogin.lua +++ b/MCServer/Plugins/Core/onlogin.lua @@ -1,8 +1,6 @@ function OnLogin(Client, ProtocolVersion, Username) if( Username ~= "" ) then if( BannedPlayersIni:GetValueB("Banned", Username, false) == true ) then - local Server = cRoot:Get():GetServer() - Server:SendMessage( Username .. " tried to join, but is banned!" ) LOGINFO( Username .. " tried to join, but is banned!") return true -- Player is banned, return true to deny access end |