mirror of
https://github.com/solero/houdini.git
synced 2024-12-22 05:23:39 +00:00
Merge pull request #80 from floogal/patch-1
Fix banned accounts not being removed
This commit is contained in:
commit
f53de2546c
@ -146,5 +146,6 @@ async def moderator_ban(p, penguin_id, hours=24, comment='', message=''):
|
||||
if penguin_id in p.server.penguins_by_id:
|
||||
if player.is_vanilla_client:
|
||||
await player.send_xt('ban', 612, 2, hours, comment)
|
||||
await player.close()
|
||||
else:
|
||||
await player.send_error_and_disconnect(610, comment)
|
||||
|
Loading…
Reference in New Issue
Block a user