Skip to content

Commit

Permalink
Testing is good.
Browse files Browse the repository at this point in the history
  • Loading branch information
dewiniaid committed Dec 2, 2016
1 parent e5f6b30 commit d0f8729
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion alerts/alerts.py
Original file line number Diff line number Diff line change
Expand Up @@ -1345,7 +1345,7 @@ def __init__(self, words, word_eol, event):
def hostmask(self):
if self.is_channel:
try:
return next(iter(user for user in self.current.get_list('users') if user.nick == self.nick))
return next(iter(user.host for user in self.current.get_list('users') if user.nick == self.nick))
except StopIteration:
raise ValueError("Could not find associated user in user list.")
else:
Expand Down

0 comments on commit d0f8729

Please sign in to comment.