aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/channel_op.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/channel_op.py b/modules/channel_op.py
index 1981bb87..31fd773b 100644
--- a/modules/channel_op.py
+++ b/modules/channel_op.py
@@ -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: