Typo in modules/channel_op, 'this' -> 'self'
This commit is contained in:
parent
94a3461d39
commit
44c67ad5d9
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue