Typo in modules/channel_op, 'this' -> 'self'

This commit is contained in:
jesopo 2018-10-19 14:37:24 +01:00
parent 94a3461d39
commit 44c67ad5d9

View file

@ -70,7 +70,7 @@ class Module(ModuleManager.BaseModule):
def _ban(self, server, channel, ban, target): def _ban(self, server, channel, ban, target):
target_user = server.get_user(target) target_user = server.get_user(target)
if channel.has_user(target_user): if channel.has_user(target_user):
return this._ban_user(channel, ban, target_user) return self._ban_user(channel, ban, target_user)
else: else:
if ban: if ban:
event["target"].send_ban(target) event["target"].send_ban(target)