diff options
| author | 2019-09-24 15:52:31 +0100 | |
|---|---|---|
| committer | 2019-09-24 15:52:31 +0100 | |
| commit | 9c591ca8dcfc0aa152bdba96613059a8a26aa3a7 (patch) | |
| tree | 50d7e074eca3921a3a0facea9b41e1c407d6e200 | |
| parent | switch ban-format-account from a serverset to channelset (diff) | |
| signature | ||
don't throw when account name is null
| -rw-r--r-- | modules/channel_op.py | 2 |
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: |
