diff options
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 |