mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-23 02:24:12 +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 = []
|
||||
for channel in channels:
|
||||
if channel.startswith('@'):
|
||||
ops.append(channel[:-1])
|
||||
ops.append(channel[1:])
|
||||
elif channel.startswith('%'):
|
||||
halfops.append(channel[:-1])
|
||||
halfops.append(channel[1:])
|
||||
elif channel.startswith('+'):
|
||||
voices.append(channel[:-1])
|
||||
voices.append(channel[1:])
|
||||
else:
|
||||
normal.append(channel)
|
||||
L = []
|
||||
|
Loading…
Reference in New Issue
Block a user