plugins/Format: Fix some copy/paste errors.

This commit is contained in:
James Vega 2005-07-14 12:27:54 +00:00
parent 5b8400e158
commit bc3a47fc90

View File

@ -117,7 +117,7 @@ class Format(callbacks.Plugin):
def capitalize(self, irc, msg, args, text):
"""<text>
Returns <text> lowercased.
Returns <text> capitalized.
"""
irc.reply(text.capitalize())
capitalize = wrap(capitalize, ['text'])
@ -125,7 +125,7 @@ class Format(callbacks.Plugin):
def title(self, irc, msg, args, text):
"""<text>
Returns <text> lowercased.
Returns <text> titlecased.
"""
irc.reply(text.title())
title = wrap(title, ['text'])
@ -169,7 +169,7 @@ class Format(callbacks.Plugin):
except IndexError:
irc.errorInvalid('field')
field = wrap(field, ['index', 'text'])
def format(self, irc, msg, args):
"""<format string> [<arg> ...]