mirror of
https://github.com/jlu5/PyLink.git
synced 2025-01-23 18:54:05 +01:00
ts6: fix sending wrong UID in handle_chghost hook payload
This commit is contained in:
parent
add409789a
commit
f3d8c35219
@ -598,7 +598,7 @@ class TS6Protocol(TS6BaseProtocol):
|
|||||||
"""Handles incoming CHGHOST commands."""
|
"""Handles incoming CHGHOST commands."""
|
||||||
target = args[0]
|
target = args[0]
|
||||||
self.irc.users[target].host = newhost = args[1]
|
self.irc.users[target].host = newhost = args[1]
|
||||||
return {'target': numeric, 'newhost': newhost}
|
return {'target': target, 'newhost': newhost}
|
||||||
|
|
||||||
def handle_bmask(self, numeric, command, args):
|
def handle_bmask(self, numeric, command, args):
|
||||||
"""Handles incoming BMASK commands (ban propagation on burst)."""
|
"""Handles incoming BMASK commands (ban propagation on burst)."""
|
||||||
|
Loading…
Reference in New Issue
Block a user