MessageParser: fix two misspell

In config.py config var help and in plugin.py docstring
This commit is contained in:
Valentin Lorentz 2010-11-02 12:17:41 +01:00 committed by Daniel Folkinshteyn
parent e0c08d3f98
commit 37023f5616
2 changed files with 2 additions and 2 deletions

View File

@ -65,7 +65,7 @@ conf.registerChannelValue(MessageParser, 'requireManageCapability',
Note that absence of an explicit anticapability means user has Note that absence of an explicit anticapability means user has
capability.""")) capability."""))
conf.registerChannelValue(MessageParser, 'listSeparator', conf.registerChannelValue(MessageParser, 'listSeparator',
registry.String(', ', """Determines the separator used between rexeps when registry.String(', ', """Determines the separator used between regexps when
shown by the list command.""")) shown by the list command."""))
# vim:set shiftwidth=4 tabstop=4 expandtab textwidth=79: # vim:set shiftwidth=4 tabstop=4 expandtab textwidth=79:

View File

@ -204,7 +204,7 @@ class MessageParser(callbacks.Plugin, plugins.ChannelDBHandler):
add = wrap(add, ['channel', 'something', 'something']) add = wrap(add, ['channel', 'something', 'something'])
def remove(self, irc, msg, args, channel, optlist, regexp): def remove(self, irc, msg, args, channel, optlist, regexp):
"""[<channel>] [--id] <regexp>] """[<channel>] [--id] <regexp>
Removes the trigger for <regexp> from the triggers database. Removes the trigger for <regexp> from the triggers database.
<channel> is only necessary if <channel> is only necessary if