diff --git a/modules/channel_op.py b/modules/channel_op.py index e789b4c4..3d92c451 100644 --- a/modules/channel_op.py +++ b/modules/channel_op.py @@ -70,7 +70,7 @@ class Module(ModuleManager.BaseModule): def _ban(self, server, channel, ban, target): target_user = server.get_user(target) if channel.has_user(target_user): - return this._ban_user(channel, ban, target_user) + return self._ban_user(channel, ban, target_user) else: if ban: event["target"].send_ban(target)