.BANCHO. Log bans in RAP

This commit is contained in:
Nyo
2016-06-08 11:33:27 +02:00
parent 3f9bad3d21
commit cd363db76b
3 changed files with 10 additions and 8 deletions

View File

@@ -251,7 +251,7 @@ class token:
author -- userID of who has silenced the target. Optional. Default: 999 (fokabot)
"""
# Silence user in db
userHelper.silence(self.userID, int(time.time())+seconds, reason, author)
userHelper.silence(self.userID, seconds, reason, author)
# Send silence packet to target
self.enqueue(serverPackets.silenceEndTime(seconds))