Topic: Fix bad doctring

This commit is contained in:
Valentin Lorentz 2010-10-30 12:24:02 +02:00
parent b85d289bbb
commit 595d98df91
2 changed files with 13 additions and 3 deletions

View File

@ -5,7 +5,7 @@
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2010-10-20 09:38+CEST\n"
"POT-Creation-Date: 2010-10-30 12:23+CEST\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -253,7 +253,7 @@ msgid ""
" "
msgstr ""
#: plugin.py:471 plugin.py:485
#: plugin.py:471
#, docstring
msgid ""
"[<channel>]\n"
@ -267,6 +267,16 @@ msgstr ""
msgid "lock the topic"
msgstr ""
#: plugin.py:485
#, docstring
msgid ""
"[<channel>]\n"
"\n"
" Unlocks the topic (sets the mode +t) in <channel>. <channel> is only\n"
" necessary if the message isn't sent in the channel itself.\n"
" "
msgstr ""
#: plugin.py:495
msgid "unlock the topic"
msgstr ""

View File

@ -484,7 +484,7 @@ class Topic(callbacks.Plugin):
def unlock(self, irc, msg, args, channel):
"""[<channel>]
Locks the topic (sets the mode +t) in <channel>. <channel> is only
Unlocks the topic (sets the mode +t) in <channel>. <channel> is only
necessary if the message isn't sent in the channel itself.
"""
if not self._checkManageCapabilities(irc, msg, channel):