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
..
2016-03-06 23:42:04 +00:00
2015-10-14 01:03:54 -04:00
2016-05-17 22:16:21 +10:00
2016-03-07 16:33:20 -05:00