Nayruden/Ulysses — pull request #63 by FPtje (2012-11-10 22:12:10+00:00)
Title: Fix issue #11 (kick/ban admin name and time)

Removed two redundant kicks in the ULib.addBan function. (Seriously, you had three: the loop, the kickid and banid _ _ kick)

Added time and admin name to kick/ban reason, so clients know for how long they're banned:

Various kick/ban situations and the messages that the clients see:

ulx kick FPtje test
> Kicked by FPtje(STEAM_0:0:8944068) (test)

ulx ban FPtje 0 minge
> Kicked by FPtje(STEAM_0:0:8944068) (Banned permanently: minge)

ulx ban FPtje 1 minge
> Kicked by FPtje(STEAM_0:0:8944068) (Banned for 1 minute(s): minge)

lua_run ULib.kick(Player(12))
> [ULX] Kicked from server

lua_run ULib.kick(Player(12), 'Vote kick successful.')
> Vote kick successful.