From 8db8f6b6c4356ffcd190732fa2c91a7946d982f3 Mon Sep 17 00:00:00 2001 From: James Lu Date: Sat, 9 Jan 2016 18:34:41 -0800 Subject: [PATCH] note to self: never use case-insensitive find/replace again --- protocols/ts6_common.py | 10 ++++++---- protocols/unreal.py | 2 +- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/protocols/ts6_common.py b/protocols/ts6_common.py index c079a20..8d85f1f 100644 --- a/protocols/ts6_common.py +++ b/protocols/ts6_common.py @@ -174,9 +174,11 @@ class TS6BaseProtocol(Protocol): def handle_kill(self, source, command, args): """Handles incoming KILLs.""" killed = args[0] - # Depending on whether the self.ircd sends explicit QUIT messages for - # KILLed clients, the user may or may not have automatically been removed. - # If not, we have to assume that KILL = QUIT and remove them ourselves. + # Depending on whether the IRCd sends explicit QUIT messages for + # killed clients, the user may or may not have automatically been + # removed from our user list. + # If not, we have to assume that KILL = QUIT and remove them + # ourselves. data = self.irc.users.get(killed) if data: self.removeClient(killed) @@ -212,7 +214,7 @@ class TS6BaseProtocol(Protocol): """Handles incoming SAVE messages, used to handle nick collisions.""" # In this below example, the client Derp_ already exists, # and trying to change someone's nick to it will cause a nick - # collision. On TS6 self.ircds, this will simply set the collided user's + # collision. On TS6 IRCds, this will simply set the collided user's # nick to its UID. # <- :70MAAAAAA PRIVMSG 0AL000001 :nickclient PyLink Derp_ diff --git a/protocols/unreal.py b/protocols/unreal.py index 0877b0e..ca5b0b2 100644 --- a/protocols/unreal.py +++ b/protocols/unreal.py @@ -318,7 +318,7 @@ class UnrealProtocol(TS6BaseProtocol): host = self.irc.serverdata["hostname"] f('PASS :%s' % self.irc.serverdata["sendpass"]) - # https://github.com/unrealself.ircd/unrealself.ircd/blob/2f8cb55e/doc/technical/protoctl.txt + # https://github.com/unrealircd/unrealself.ircd/blob/2f8cb55e/doc/technical/protoctl.txt # We support the following protocol features: # SJ3 - extended SJOIN # NOQUIT - QUIT messages aren't sent for all users in a netsplit