diff options
| author | 2019-11-22 11:48:29 +0000 | |
|---|---|---|
| committer | 2019-11-22 11:50:23 +0000 | |
| commit | 3935bf3a30a409bfae09abfe5bcb99240236ed24 (patch) | |
| tree | 8db4b36198e3ebd47228cfe8bcc1032f4b5df74f /modules/channel_op.py | |
| parent | correctly detect when a track has tags (lastfm) (diff) | |
| signature | ||
IRCUser.get_identified_account() doesn't exist anymore
Diffstat (limited to 'modules/channel_op.py')
| -rw-r--r-- | modules/channel_op.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/channel_op.py b/modules/channel_op.py index 168d5d81..bc307778 100644 --- a/modules/channel_op.py +++ b/modules/channel_op.py @@ -56,10 +56,10 @@ class Module(ModuleManager.BaseModule): mask_split[i] = (mask_part.replace("$n", user.nickname) .replace("$u", user.username) .replace("$h", user.hostname) - .replace("$a", user.get_identified_account() or "")) + .replace("$a", user.account or "")) return "$".join(mask_split) def _get_hostmask(self, channel, user): - if not user.get_identified_account() == None: + if not user.account == None: account_format = channel.get_setting("ban-format-account", None) if not account_format == None: return self._format_hostmask(user, account_format) |
