mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-24 03:33:11 +01:00
Bugz0r.
This commit is contained in:
parent
5f5e79135f
commit
86b49eccb2
@ -217,6 +217,7 @@ class ChannelState(object):
|
||||
return
|
||||
while user and user[0] in '@%+':
|
||||
(marker, user) = (user[0], user[1:])
|
||||
assert user, 'Looks like my caller is passing chars, not nicks.'
|
||||
if marker == '@':
|
||||
self.ops.add(nick)
|
||||
elif marker == '%':
|
||||
@ -366,7 +367,7 @@ class IrcState(IrcCommandDispatcher):
|
||||
if channel not in self.channels:
|
||||
self.channels[channel] = Channel()
|
||||
c = self.channels[channel]
|
||||
for name in names:
|
||||
for name in names.split():
|
||||
c.addUser(name)
|
||||
if type == '@':
|
||||
c.modes['s'] = None
|
||||
|
Loading…
Reference in New Issue
Block a user