From e1830786452220484e7ed16d42053d5b288c77e1 Mon Sep 17 00:00:00 2001 From: James Lu Date: Sun, 20 Mar 2016 17:34:13 -0700 Subject: [PATCH] protocols: Remove "secret" testing channel name --- protocols/ts6.py | 2 +- protocols/ts6_common.py | 2 +- protocols/unreal.py | 14 +++++++------- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/protocols/ts6.py b/protocols/ts6.py index 54ca9f7..522d2b8 100644 --- a/protocols/ts6.py +++ b/protocols/ts6.py @@ -557,7 +557,7 @@ class TS6Protocol(TS6BaseProtocol): def handle_tmode(self, numeric, command, args): """Handles incoming TMODE commands (channel mode change).""" - # <- :42XAAAAAB TMODE 1437450768 #endlessvoid -c+lkC 3 agte4 + # <- :42XAAAAAB TMODE 1437450768 #test -c+lkC 3 agte4 channel = utils.toLower(self.irc, args[1]) oldobj = self.irc.channels[channel].deepcopy() modes = args[2:] diff --git a/protocols/ts6_common.py b/protocols/ts6_common.py index 5236f1b..6451b31 100644 --- a/protocols/ts6_common.py +++ b/protocols/ts6_common.py @@ -233,7 +233,7 @@ class TS6BaseProtocol(Protocol): def handle_kick(self, source, command, args): """Handles incoming KICKs.""" - # :70MAAAAAA KICK #endlessvoid 70MAAAAAA :some reason + # :70MAAAAAA KICK #test 70MAAAAAA :some reason channel = utils.toLower(self.irc, args[0]) kicked = args[1] self.handle_part(kicked, 'KICK', [channel, args[2]]) diff --git a/protocols/unreal.py b/protocols/unreal.py index 82e035b..5b08a5b 100644 --- a/protocols/unreal.py +++ b/protocols/unreal.py @@ -127,7 +127,7 @@ class UnrealProtocol(TS6BaseProtocol): Note that for UnrealIRCd, no mode data is sent in an SJOIN command, only The channel name, TS, and user list. """ - # <- :001 SJOIN 1444361345 #endlessvoid :001DJ1O02 + # <- :001 SJOIN 1444361345 #test :001DJ1O02 # The nicklist consists of users joining the channel, with status prefixes for # their status ('@+', '@', '+' or ''), for example: # '@+1JJAAAAAB +2JJAAAA4C 1JJAAAADS'. @@ -195,7 +195,7 @@ class UnrealProtocol(TS6BaseProtocol): Sends mode changes from a PyLink client/server. The mode list should be a list of (mode, arg) tuples, i.e. the format of utils.parseModes() output. """ - # <- :unreal.midnight.vpn MODE #endlessvoid +ntCo GL 1444361345 + # <- :unreal.midnight.vpn MODE #test +ntCo GL 1444361345 if (not self.irc.isInternalClient(numeric)) and \ (not self.irc.isInternalServer(numeric)): @@ -514,7 +514,7 @@ class UnrealProtocol(TS6BaseProtocol): def handle_sjoin(self, numeric, command, args): """Handles the UnrealIRCd SJOIN command.""" - # <- :001 SJOIN 1444361345 #endlessvoid :001DJ1O02 + # <- :001 SJOIN 1444361345 #test :001DJ1O02 # memberlist should be a list of UIDs with their channel status prefixes, as # in ":001AAAAAA @001AAAAAB +001AAAAAC". # Interestingly, no modes are ever sent in this command as far as I've seen. @@ -555,10 +555,10 @@ class UnrealProtocol(TS6BaseProtocol): return {'channel': channel, 'users': namelist, 'modes': self.irc.channels[channel].modes, 'ts': their_ts} def handle_mode(self, numeric, command, args): - # <- :unreal.midnight.vpn MODE #endlessvoid +bb test!*@* *!*@bad.net - # <- :unreal.midnight.vpn MODE #endlessvoid +q GL 1444361345 - # <- :unreal.midnight.vpn MODE #endlessvoid +ntCo GL 1444361345 - # <- :unreal.midnight.vpn MODE #endlessvoid +mntClfo 5 [10t]:5 GL 1444361345 + # <- :unreal.midnight.vpn MODE #test +bb test!*@* *!*@bad.net + # <- :unreal.midnight.vpn MODE #test +q GL 1444361345 + # <- :unreal.midnight.vpn MODE #test +ntCo GL 1444361345 + # <- :unreal.midnight.vpn MODE #test +mntClfo 5 [10t]:5 GL 1444361345 # <- :GL MODE #services +v GL # This seems pretty relatively inconsistent - why do some commands have a TS at the end while others don't?