Skip to content

Commit

Permalink
Later
Browse files Browse the repository at this point in the history
  • Loading branch information
metagn committed Jan 23, 2016
1 parent 73d1707 commit 9a09560
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ml/hlaaftana/discordg/objects/API.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ class API{
Server server = e.data.server
Member memberToRemove = e.data.member
Map serverInReady = this.readyData["guilds"].find { it["id"].equals(server.getId()) }
Map serverInReady2 = serverInReady
Map serverInReady2 = serverInReady.subMap(serverInReady.keySet())
serverInReady2["members"].remove(memberToRemove.object)
this.readyData["guilds"].remove(serverInReady)
this.readyData["guilds"].add(serverInReady2)
Expand Down

0 comments on commit 9a09560

Please sign in to comment.