From 8d90768594c3cf6b58bf66be5ea8c0f5f93d159a Mon Sep 17 00:00:00 2001 From: Sven Heidemann Date: Thu, 28 Sep 2023 20:54:23 +0200 Subject: [PATCH] Fixed nick name handling --- .../modules/short_role_name/service/short_role_name_service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kdb-bot/src/modules/short_role_name/service/short_role_name_service.py b/kdb-bot/src/modules/short_role_name/service/short_role_name_service.py index 8fc04b32..89ae5fad 100644 --- a/kdb-bot/src/modules/short_role_name/service/short_role_name_service.py +++ b/kdb-bot/src/modules/short_role_name/service/short_role_name_service.py @@ -65,7 +65,7 @@ class ShortRoleNameService: if after != "": new_nick = new_nick + after - if member.nick is None or member.nick == new_nick: + if member.nick == new_nick: return try: