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:
Mikaela Suomalainen 2014-05-28 12:45:07 +03:00
parent 14786ff68e
commit 0f89e12f4d

View File

@ -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',