3
0
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:
James Lu 2015-12-30 15:53:31 -08:00
parent add409789a
commit f3d8c35219

View File

@ -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)."""