From f3d8c35219ed05447f9caf11917af9c29ccb6518 Mon Sep 17 00:00:00 2001 From: James Lu Date: Wed, 30 Dec 2015 15:53:31 -0800 Subject: [PATCH] ts6: fix sending wrong UID in handle_chghost hook payload --- protocols/ts6.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protocols/ts6.py b/protocols/ts6.py index 18709f8..c3c2482 100644 --- a/protocols/ts6.py +++ b/protocols/ts6.py @@ -598,7 +598,7 @@ class TS6Protocol(TS6BaseProtocol): """Handles incoming CHGHOST commands.""" target = args[0] 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): """Handles incoming BMASK commands (ban propagation on burst)."""