From 3fbceeb12099456d67da3c2428b297bf96e1b6cc Mon Sep 17 00:00:00 2001 From: Joel Rosdahl Date: Mon, 22 May 2017 21:46:09 +0200 Subject: Simplify --- miniircd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/miniircd b/miniircd index b76c7bb..b3d6a20 100755 --- a/miniircd +++ b/miniircd @@ -258,7 +258,7 @@ class Client(object): names = "" # Max length: reply prefix ":server_name(space)" plus CRLF in # the end. - names_max_len = 512 - (len(self.server.name) + 2 + 2) + names_max_len = 512 - (len(server.name) + 2 + 2) for name in sorted(x.nickname for x in channel.members): if not names: names = names_prefix + name -- cgit v1.2.3