mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-23 10:34:19 +01:00
Fixed bugz0r with regexp.
This commit is contained in:
parent
5d10dc2047
commit
d43cb1403d
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user