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): def capitalize(self, irc, msg, args, text):
"""<text> """<text>
Returns <text> lowercased. Returns <text> capitalized.
""" """
irc.reply(text.capitalize()) irc.reply(text.capitalize())
capitalize = wrap(capitalize, ['text']) capitalize = wrap(capitalize, ['text'])
@ -125,7 +125,7 @@ class Format(callbacks.Plugin):
def title(self, irc, msg, args, text): def title(self, irc, msg, args, text):
"""<text> """<text>
Returns <text> lowercased. Returns <text> titlecased.
""" """
irc.reply(text.title()) irc.reply(text.title())
title = wrap(title, ['text']) title = wrap(title, ['text'])