3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-12-24 19:52:53 +01:00

Irc: fix matchHost not using realhost properly

(cherry picked from commit f9e798cf93)
This commit is contained in:
James Lu 2016-11-20 12:29:51 -08:00
parent 9dbf124e36
commit 1888f24ef0

View File

@ -1018,7 +1018,7 @@ class Irc():
hosts.add(self.getHostmask(target, ip=True))
if realhost:
hosts.add(self.getHostmask(target, ip=True))
hosts.add(self.getHostmask(target, realhost=True))
else: # We were given a host, use that.
hosts = [target]