From 1119094349d3e916798e23609a11a26fc97ed657 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Wed, 13 Oct 2021 17:21:25 +0200 Subject: [PATCH] dfsfds --- files/routes/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/admin.py b/files/routes/admin.py index 4a82717bc..a3fa3eda9 100644 --- a/files/routes/admin.py +++ b/files/routes/admin.py @@ -850,7 +850,7 @@ def ban_user(user_id, v): if x.admin_level > 0: break x.ban(admin=v, reason=reason) - send_notification(NOTIFICATIONS_ACCOUNT, user, text) + send_notification(NOTIFICATIONS_ACCOUNT, user, text[:128]) if days == 0: duration = "permanent" elif days == 1: duration = "1 day"