mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-24 11:42:52 +01:00
src/conf.py: set default banmask to host.
`*!user@host` is very easy to evade as most of users don't have identd server. This makes bans a little more difficult to evade. See also: * weechat/weechat#18 * ProgVal/Limnoria#689
This commit is contained in:
parent
14786ff68e
commit
0f89e12f4d
@ -1054,7 +1054,7 @@ class Banmask(registry.SpaceSeparatedSetOfStrings):
|
|||||||
return ircutils.joinHostmask(bnick, buser, bhost)
|
return ircutils.joinHostmask(bnick, buser, bhost)
|
||||||
|
|
||||||
registerChannelValue(supybot.protocols.irc, 'banmask',
|
registerChannelValue(supybot.protocols.irc, 'banmask',
|
||||||
Banmask(['user', 'host'], _("""Determines what will be used as the
|
Banmask(['host'], _("""Determines what will be used as the
|
||||||
default banmask style.""")))
|
default banmask style.""")))
|
||||||
|
|
||||||
registerGlobalValue(supybot.protocols.irc, 'strictRfc',
|
registerGlobalValue(supybot.protocols.irc, 'strictRfc',
|
||||||
|
Loading…
Reference in New Issue
Block a user