Fixed bugz0r with regexp.

This commit is contained in:
Jeremy Fincher 2004-04-30 18:23:36 +00:00
parent 5d10dc2047
commit d43cb1403d
1 changed files with 2 additions and 1 deletions

View File

@ -75,7 +75,8 @@ conf.registerGlobalValue(conf.supybot.plugins.ChannelRelay, 'regexp',
relayed from the source channel to the target channel. By default, the relayed from the source channel to the target channel. By default, the
value is m/./, which means that all non-empty messages will be value is m/./, which means that all non-empty messages will be
relayed.""")) relayed."""))
conf.supybot.plugins.ChannelRelay.regexp.set('m/./') if conf.supybot.plugins.ChannelRelay.regexp() is None:
conf.supybot.plugins.ChannelRelay.regexp.set('m/./')
conf.registerGlobalValue(conf.supybot.plugins.ChannelRelay, 'fancy', conf.registerGlobalValue(conf.supybot.plugins.ChannelRelay, 'fancy',
registry.Boolean(True, """Determines whether the bot should relay the registry.Boolean(True, """Determines whether the bot should relay the
messages in fancy form (i.e., including the nick of the sender of the messages in fancy form (i.e., including the nick of the sender of the