From afa0cb8f4129e03aad39b71091392ff939230014 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Tue, 4 Nov 2003 08:50:10 +0000 Subject: [PATCH] Fixed bug in relay whois; chopping characters off the end of the channel rather than the beginning. --- plugins/Relay.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/Relay.py b/plugins/Relay.py index a3f02f1ec..e98f6d9dc 100644 --- a/plugins/Relay.py +++ b/plugins/Relay.py @@ -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 = []