mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 13:19:24 +01:00
src/irclib.py: Document the protected/channel owner patch
This commit is contained in:
parent
cbb5b7aaa2
commit
0b83f017d9
@ -251,6 +251,8 @@ class ChannelState(object):
|
|||||||
nick = user.lstrip('@%+&~')
|
nick = user.lstrip('@%+&~')
|
||||||
if not nick:
|
if not nick:
|
||||||
return
|
return
|
||||||
|
# & is used to denote protected users in UnrealIRCd
|
||||||
|
# ~ is used to denote channel owner in UnrealIRCd
|
||||||
while user and user[0] in '@%+&~':
|
while user and user[0] in '@%+&~':
|
||||||
(marker, user) = (user[0], user[1:])
|
(marker, user) = (user[0], user[1:])
|
||||||
assert user, 'Looks like my caller is passing chars, not nicks.'
|
assert user, 'Looks like my caller is passing chars, not nicks.'
|
||||||
|
Loading…
Reference in New Issue
Block a user