From 44d74dbfa6fbdec91253389f1dec9c2bf991ce5e Mon Sep 17 00:00:00 2001 From: Mikaela Suomalainen Date: Sun, 11 May 2014 16:41:06 +0300 Subject: [PATCH] Relay: make default config better. Enable colours: most of people want them and they are supported by all IRC clients used nowadays. Show hostmask: that is standard behaviour of relaybots which I am seeing. Punish other relaybots: Does this even need explaining? "Let 2009-11-24 be a lesson to you: turn *on* supybot.plugins.Relay.punishOtherRelayBots." Don't join on all networks: I think that people mostly want to relay specific networks, not all of them. This is also a method to evade limitation of LinkRelay ( ProgVal/Supybot-plugins#11 ). Use notices with nonprivmsgs: This is also standard behaviour and makes it easier to see the difference between PRIVMSGs and everything else. --- plugins/Relay/config.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/plugins/Relay/config.py b/plugins/Relay/config.py index 2bcbef095..e64002586 100644 --- a/plugins/Relay/config.py +++ b/plugins/Relay/config.py @@ -56,13 +56,13 @@ class Networks(registry.SpaceSeparatedListOf): Relay = conf.registerPlugin('Relay') conf.registerChannelValue(Relay, 'color', - registry.Boolean(False, _("""Determines whether the bot will color relayed + registry.Boolean(True, _("""Determines whether the bot will color relayed PRIVMSGs so as to make the messages easier to read."""))) conf.registerChannelValue(Relay, 'topicSync', registry.Boolean(True, _("""Determines whether the bot will synchronize topics between networks in the channels it relays."""))) conf.registerChannelValue(Relay, 'hostmasks', - registry.Boolean(False, _("""Determines whether the bot will relay the + registry.Boolean(True, _("""Determines whether the bot will relay the hostmask of the person joining or parting the channel when he or she joins or parts."""))) conf.registerChannelValue(Relay, 'includeNetwork', @@ -70,20 +70,20 @@ conf.registerChannelValue(Relay, 'includeNetwork', network in relayed PRIVMSGs; if you're only relaying between two networks, it's somewhat redundant, and you may wish to save the space."""))) conf.registerChannelValue(Relay, 'punishOtherRelayBots', - registry.Boolean(False, _("""Determines whether the bot will detect other + registry.Boolean(True, _("""Determines whether the bot will detect other bots relaying and respond by kickbanning them."""))) conf.registerGlobalValue(Relay, 'channels', conf.SpaceSeparatedSetOfChannels([], _("""Determines which channels the bot will relay in."""))) conf.registerChannelValue(Relay.channels, 'joinOnAllNetworks', - registry.Boolean(True, _("""Determines whether the bot + registry.Boolean(False, _("""Determines whether the bot will always join the channel(s) it relays for on all networks the bot is connected to."""))) conf.registerChannelValue(Relay, 'ignores', Ignores([], _("""Determines what hostmasks will not be relayed on a channel."""))) conf.registerChannelValue(Relay, 'noticeNonPrivmsgs', - registry.Boolean(False, _("""Determines whether the bot will used NOTICEs + registry.Boolean(True, _("""Determines whether the bot will used NOTICEs rather than PRIVMSGs for non-PRIVMSG relay messages (i.e., joins, parts, nicks, quits, modes, etc.)""")))