should be checking self.hostname
, not self.hostmask
(func pointer!)
This commit is contained in:
parent
68054eacd5
commit
b88fa51907
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue