mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-02 17:29:22 +01:00
Fixed bug in relay whois; chopping characters off the end of the channel rather than the beginning.
This commit is contained in:
parent
a456c5ea57
commit
afa0cb8f41
@ -389,11 +389,11 @@ class Relay(callbacks.Privmsg, plugins.Toggleable):
|
|||||||
halfops = []
|
halfops = []
|
||||||
for channel in channels:
|
for channel in channels:
|
||||||
if channel.startswith('@'):
|
if channel.startswith('@'):
|
||||||
ops.append(channel[:-1])
|
ops.append(channel[1:])
|
||||||
elif channel.startswith('%'):
|
elif channel.startswith('%'):
|
||||||
halfops.append(channel[:-1])
|
halfops.append(channel[1:])
|
||||||
elif channel.startswith('+'):
|
elif channel.startswith('+'):
|
||||||
voices.append(channel[:-1])
|
voices.append(channel[1:])
|
||||||
else:
|
else:
|
||||||
normal.append(channel)
|
normal.append(channel)
|
||||||
L = []
|
L = []
|
||||||
|
Loading…
Reference in New Issue
Block a user