Fixed a bug in @delplayer.

This commit is contained in:
Griatch 2012-06-29 07:34:34 +02:00
parent d50d28f960
commit ec4c29b592

View file

@ -302,7 +302,7 @@ class CmdDelPlayer(MuxCommand):
# We use player_search since we want to be sure to find also players
# that lack characters.
players = caller.search("*%s" % args, player=True)
players = caller.search("*%s" % args)
if not players:
try:
players = PlayerDB.objects.filter(id=args)