1
0
Tim 58eb5f39d4 Builtin: Fix check for a player object in core.check_player_privs
core.check_player_privs accepts as first argument a name or player object, but just tested for a string.
This caused crashes inside builtin, when being passed any unexpected types.

This provides a better (duck-typing like) test, better error reporting.
2016-07-26 04:15:06 +01:00
..
2014-05-08 13:02:04 -04:00
2016-03-06 23:42:04 +00:00
2016-04-08 02:25:04 -04:00