From c01b4497415691b140af747fb6187b4d41337d1d Mon Sep 17 00:00:00 2001 From: James Lu Date: Sat, 2 Apr 2016 12:15:53 -0700 Subject: [PATCH] relay: treat network names case-sensitively --- plugins/relay.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/relay.py b/plugins/relay.py index 4abe119..1db0052 100644 --- a/plugins/relay.py +++ b/plugins/relay.py @@ -1300,7 +1300,7 @@ def link(irc, source, args): If is not specified, it defaults to the same name as .""" try: channel = utils.toLower(irc, args[1]) - remotenet = args[0].lower() + remotenet = args[0] except IndexError: irc.reply("Error: Not enough arguments. Needs 2-3: remote netname, channel, local channel name (optional).") return @@ -1355,7 +1355,7 @@ def delink(irc, source, args): irc.reply("Error: Not enough arguments. Needs 1-2: channel, remote netname (optional).") return try: - remotenet = args[1].lower() + remotenet = args[1] except IndexError: remotenet = None utils.checkAuthenticated(irc, source)