summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordaniel-Jones <daniel@danieljon.es>2017-12-06 14:33:58 +1030
committerdaniel-Jones <daniel@danieljon.es>2017-12-06 14:33:58 +1030
commit67068bfc2a7ac526106cc0cf8294ddd20b500cd3 (patch)
tree7f4a6898ebced7082196d1d82d3baa3715459f67
parent21e1979151375bfceca19b14cfc3349c89d56caa (diff)
downloadminiircd-67068bfc2a7ac526106cc0cf8294ddd20b500cd3.tar.gz
miniircd-67068bfc2a7ac526106cc0cf8294ddd20b500cd3.zip
fixed whois reply when user not in a channel
-rwxr-xr-xminiircd2
1 files changed, 1 insertions, 1 deletions
diff --git a/miniircd b/miniircd
index cd88e58..9a409c8 100755
--- a/miniircd
+++ b/miniircd
@@ -551,7 +551,7 @@ class Client(object):
server.name))
self.reply("319 %s %s :%s"
% (self.nickname, user.nickname,
- " ".join(user.channels) + " "))
+ "".join(x + " " for x in user.channels)))
self.reply("318 %s %s :End of WHOIS list"
% (self.nickname, user.nickname))
else: