Skip to content

Commit

Permalink
Add users to moderation list.
Browse files Browse the repository at this point in the history
  • Loading branch information
AdamLeyshon committed Feb 27, 2019
1 parent 35dcaf6 commit c598eae
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/gwpcc
Submodule gwpcc updated from 83cbaa to 8ad96c
5 changes: 2 additions & 3 deletions lib/modules/v4/colony.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,8 @@ def colony_update_data(colony_hash):
colony.FactionName = escape(incoming_data['FactionName'])
colony.Planet = escape(incoming_data['Planet'])
colony.LastGameTick = escape(incoming_data['LastGameTick'])
# Disable bans for now
# if incoming_data['HasSpawned']:
# colony.Ban()
if incoming_data['HasSpawned']:
colony.Ban()

pipe = connection.pipeline()

Expand Down

0 comments on commit c598eae

Please sign in to comment.