should be checking self.hostname, not self.hostmask (func pointer!)

This commit is contained in:
jesopo 2020-04-15 21:10:02 +01:00
parent 68054eacd5
commit b88fa51907

View file

@ -44,7 +44,7 @@ class Server(IServer):
hostmask = self.nickname
if not self.username is None:
hostmask += f"!{self.username}"
if not self.hostmask is None:
if not self.hostname is None:
hostmask += f"@{self.hostname}"
return hostmask