don't throw when account name is null
This commit is contained in:
parent
70bc244864
commit
9c591ca8dc
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ class Module(ModuleManager.BaseModule):
|
|||
mask_split[i] = (s.replace("$n", user.nickname)
|
||||
.replace("$u", user.username)
|
||||
.replace("$h", user.hostname)
|
||||
.replace("$a", user.get_identified_account()))
|
||||
.replace("$a", user.get_identified_account() or ""))
|
||||
return "$".join(mask_split)
|
||||
def _get_hostmask(self, channel, user):
|
||||
if not user.get_identified_account() == None:
|
||||
|
|
Loading…
Reference in a new issue