From 0b83f017d98cebbe28e708246d5ebfd0120f7b79 Mon Sep 17 00:00:00 2001 From: James Vega Date: Wed, 30 Nov 2005 16:02:09 +0000 Subject: [PATCH] src/irclib.py: Document the protected/channel owner patch --- src/irclib.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/irclib.py b/src/irclib.py index 4d5c173a9..350e745fd 100644 --- a/src/irclib.py +++ b/src/irclib.py @@ -251,6 +251,8 @@ class ChannelState(object): nick = user.lstrip('@%+&~') if not nick: return + # & is used to denote protected users in UnrealIRCd + # ~ is used to denote channel owner in UnrealIRCd while user and user[0] in '@%+&~': (marker, user) = (user[0], user[1:]) assert user, 'Looks like my caller is passing chars, not nicks.'