mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 11:09:23 +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('@%+&~')
|
||||
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.'
|
||||
|
Loading…
Reference in New Issue
Block a user