mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-11 12:42:34 +01:00
Fixed bug in Channel.
This commit is contained in:
parent
4be5d42dc5
commit
ec8011347c
@ -157,7 +157,7 @@ class Channel(object):
|
||||
|
||||
def addUser(self, user):
|
||||
nick = user.lstrip('@%+')
|
||||
while user[0] in '@%+':
|
||||
while user and user[0] in '@%+':
|
||||
(marker, user) = (user[0], user[1:])
|
||||
if marker == '@':
|
||||
self.ops.add(nick)
|
||||
|
Loading…
Reference in New Issue
Block a user