Skip to content

Commit

Permalink
👹 Feed the hobgoblins (delint).
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Aug 19, 2024
1 parent 147e2f8 commit 8d23f0a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions irc/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -431,10 +431,7 @@ def handle_ison(self, params):
if len(params) == 0 or params.isspace():
response = f':{self.server.servername} 461 {self.client_ident().nick} ISON :Not enough parameters'
return response
nickOnline = []
for nick in params.split(" "):
if nick in self.server.clients:
nickOnline.append(nick)
nickOnline = [nick for nick in params.split(" ") if nick in self.server.clients]
response += ' '.join(nickOnline)
return response

Expand Down

0 comments on commit 8d23f0a

Please sign in to comment.