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 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)