Forgot to update help for the new indexing.

This commit is contained in:
Jeremy Fincher 2003-10-03 10:09:49 +00:00
parent 1e64fad163
commit 29825d76f9

View File

@ -112,7 +112,7 @@ class Topic(callbacks.Privmsg):
def gettopic(self, irc, msg, args, channel): def gettopic(self, irc, msg, args, channel):
"""[<channel>] <number> """[<channel>] <number>
Returns topic number <number> from <channel>. <number> is a zero-based Returns topic number <number> from <channel>. <number> is a one-based
index into the topics. <channel> is only necessary if the message index into the topics. <channel> is only necessary if the message
isn't sent in the channel itself. isn't sent in the channel itself.
""" """
@ -136,7 +136,7 @@ class Topic(callbacks.Privmsg):
"""[<channel>] <number> <regexp> """[<channel>] <number> <regexp>
Changes the topic number <number> on <channel> according to the regular Changes the topic number <number> on <channel> according to the regular
expression <regexp>. <number> is the zero-based index into the topics; expression <regexp>. <number> is the one-based index into the topics;
<regexp> is a regular expression of the form <regexp> is a regular expression of the form
s/regexp/replacement/flags. <channel> is only necessary if the message s/regexp/replacement/flags. <channel> is only necessary if the message
isn't sent in the channel itself. isn't sent in the channel itself.
@ -185,7 +185,7 @@ class Topic(callbacks.Privmsg):
"""[<channel>] <number> """[<channel>] <number>
Removes topic <number> from the topic for <channel> Topics are Removes topic <number> from the topic for <channel> Topics are
numbered starting from 0; you can also use negative indexes to refer numbered starting from 1; you can also use negative indexes to refer
to topics starting the from the end of the topic. <channel> is only to topics starting the from the end of the topic. <channel> is only
necessary if the message isn't sent in the channel itself. necessary if the message isn't sent in the channel itself.
""" """