Skip to content
Snippets Groups Projects
Commit b0ef31ea authored by Sander Mathijs van Veen's avatar Sander Mathijs van Veen
Browse files

Fixed server name list response.

parent 0394c4c8
No related branches found
No related tags found
No related merge requests found
......@@ -192,7 +192,7 @@ class RequestHandler(AsyncBase, asyncore.dispatcher):
if cmd == 'NAMES':
clients = self.server.clients
self.send_raw('+Ok:\r\n' \
+ '\r\n'.join([clients[c].username for c in clients]))
+ ''.join([clients[c].username + '\r\n' for c in clients]))
return True
return self.send_negative('Unsupported command.')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment