mirror of
https://github.com/jlu5/PyLink.git
synced 2024-12-25 20:22:45 +01:00
pr/inspircd: fix typo in handle_mode
This commit is contained in:
parent
3e86cbdd33
commit
3749e642f2
@ -291,7 +291,7 @@ def handle_mode(irc, numeric, command, args):
|
|||||||
modestrings = args[1:]
|
modestrings = args[1:]
|
||||||
changedmodes = utils.parseModes(modestrings)
|
changedmodes = utils.parseModes(modestrings)
|
||||||
irc.users[numeric].modes = utils.applyModes(irc.users[numeric].modes, changedmodes)
|
irc.users[numeric].modes = utils.applyModes(irc.users[numeric].modes, changedmodes)
|
||||||
return {'target': user, 'modes': changedmodes}
|
return {'target': target, 'modes': changedmodes}
|
||||||
|
|
||||||
def handle_squit(irc, numeric, command, args):
|
def handle_squit(irc, numeric, command, args):
|
||||||
# :70M SQUIT 1ML :Server quit by GL!gl@0::1
|
# :70M SQUIT 1ML :Server quit by GL!gl@0::1
|
||||||
|
Loading…
Reference in New Issue
Block a user