don't prefix relay messages with 'relay/'

This commit is contained in:
jesopo 2019-07-01 12:45:02 +01:00
parent fa1e9cbb58
commit 3f6a3243e1

View file

@ -35,7 +35,7 @@ class Module(ModuleManager.BaseModule):
server_name = utils.irc.color(str(event["server"]), server_name = utils.irc.color(str(event["server"]),
utils.consts.LIGHTBLUE) utils.consts.LIGHTBLUE)
server_name = "%s%s" % (server_name, utils.consts.RESET) server_name = "%s%s" % (server_name, utils.consts.RESET)
relay_message = "[relay/%s%s] %s" % (server_name, relay_message = "[%s%s] %s" % (server_name,
relay_prefix_channel, event["line"]) relay_prefix_channel, event["line"])
message = utils.irc.protocol.privmsg(other_channel.name, message = utils.irc.protocol.privmsg(other_channel.name,