xToken/DAK — pull request #20 by browe (2012-12-31 05:32:08+00:00)
Title: Admin commands using DAKGetLevelSufficient raise a Script Error

The sv_switchteam, sv_kick, sv_slay, and sv_eject commands do not work on B235 servers. Using any of these commands returns the following stack trace:

[Server] Script Error #1: lua/DAKLoader_ServerAdmin.lua:143: None of the overloads for Server.GetOwner match the supplied arguments:
Server.GetOwner(ServerClient)
Overloads:
Server.GetOwner(Entity player)
Call stack:
#1: GetOwner [C]:-1
#2: GetObjectLevel lua/DAKLoader_ServerAdmin.lua:143
target = ServerClient { }
#3: DAKGetLevelSufficient lua/DAKLoader_ServerAdmin.lua:154
client = ServerClient { }
targetclient = "6"
#4: lua/plugins/plugin_baseadmincommands.lua:249
client = ServerClient { }
playerId = "6"