summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Rosdahl <joel@rosdahl.net>2017-05-22 21:46:09 +0200
committerJoel Rosdahl <joel@rosdahl.net>2017-05-22 21:46:09 +0200
commit3fbceeb12099456d67da3c2428b297bf96e1b6cc (patch)
tree94358587681230f997bfd4cbb5c7e6c8e1ac6a19
parent4943321dae596c45c84314ea4d091afd57cc9f08 (diff)
downloadminiircd-3fbceeb12099456d67da3c2428b297bf96e1b6cc.tar.gz
miniircd-3fbceeb12099456d67da3c2428b297bf96e1b6cc.zip
Simplify
-rwxr-xr-xminiircd2
1 files changed, 1 insertions, 1 deletions
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