aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bot/exts/moderation/infraction/infractions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/moderation/infraction/infractions.py b/bot/exts/moderation/infraction/infractions.py
index 02ed5cb4c..f19323c7c 100644
--- a/bot/exts/moderation/infraction/infractions.py
+++ b/bot/exts/moderation/infraction/infractions.py
@@ -105,7 +105,7 @@ class Infractions(InfractionScheduler, commands.Cog):
If duration is specified, it temporarily bans that user for the given duration.
"""
- await self.apply_ban(ctx, user, reason, 1, 0, expires_at=duration)
+ await self.apply_ban(ctx, user, reason, 1, expires_at=duration)
@command(aliases=('vban',))
async def voiceban(