Merge branch 'typos' into maint/0.83.4

This commit is contained in:
James McCoy 2011-10-23 19:42:02 -04:00
commit 3c69fad3de
6 changed files with 6 additions and 6 deletions

View File

@ -418,7 +418,7 @@ class Channel(callbacks.Plugin):
nick = msg.args[1] nick = msg.args[1]
nick = ircutils.toLower(nick) nick = ircutils.toLower(nick)
replyIrc = self.invites.pop((irc, nick), None) replyIrc = self.invites.pop((irc, nick), None)
if replyirc is not None: if replyIrc is not None:
replyIrc.error(format('There is no %s on this server.', nick)) replyIrc.error(format('There is no %s on this server.', nick))
class lobotomy(callbacks.Commands): class lobotomy(callbacks.Commands):

View File

@ -382,7 +382,7 @@ class Factoids(callbacks.Plugin, plugins.ChannelDBHandler):
"""[<channel>] [--values] [--{regexp} <value>] [<glob> ...] """[<channel>] [--values] [--{regexp} <value>] [<glob> ...]
Searches the keyspace for keys matching <glob>. If --regexp is given, Searches the keyspace for keys matching <glob>. If --regexp is given,
it associated value is taken as a regexp and matched against the keys. its associated value is taken as a regexp and matched against the keys.
If --values is given, search the value space instead of the keyspace. If --values is given, search the value space instead of the keyspace.
""" """
if not optlist and not globs: if not optlist and not globs:

View File

@ -280,7 +280,7 @@ class Karma(callbacks.Plugin):
N karmas, where N is determined by the config variable N karmas, where N is determined by the config variable
supybot.plugins.Karma.rankingDisplay. If one <thing> is given, returns supybot.plugins.Karma.rankingDisplay. If one <thing> is given, returns
the details of its karma; if more than one <thing> is given, returns the details of its karma; if more than one <thing> is given, returns
the total karma of each of the the things. <channel> is only necessary the total karma of each of the things. <channel> is only necessary
if the message isn't sent on the channel itself. if the message isn't sent on the channel itself.
""" """
if len(things) == 1: if len(things) == 1:

View File

@ -35,7 +35,7 @@ import supybot.ircutils as ircutils
import supybot.callbacks as callbacks import supybot.callbacks as callbacks
class NickCapture(callbacks.Plugin): class NickCapture(callbacks.Plugin):
"""This module constantly tries to take whatever nick is configured as """This plugin constantly tries to take whatever nick is configured as
supybot.nick. Just make sure that's set appropriately, and thus plugin supybot.nick. Just make sure that's set appropriately, and thus plugin
will do the rest.""" will do the rest."""
public = False public = False

View File

@ -96,7 +96,7 @@ class Protector(callbacks.Plugin):
channel = msg.args[0] channel = msg.args[0]
chanOp = ircdb.makeChannelCapability(channel, 'op') chanOp = ircdb.makeChannelCapability(channel, 'op')
chanVoice = ircdb.makeChannelCapability(channel, 'voice') chanVoice = ircdb.makeChannelCapability(channel, 'voice')
chanhalfop = ircdb.makeChannelCapability(channel, 'halfop') chanHalfOp = ircdb.makeChannelCapability(channel, 'halfop')
if not ircdb.checkCapability(msg.prefix, chanOp): if not ircdb.checkCapability(msg.prefix, chanOp):
irc.sendMsg(ircmsgs.deop(channel, msg.nick)) irc.sendMsg(ircmsgs.deop(channel, msg.nick))
for (mode, value) in ircutils.separateModes(msg.args[1:]): for (mode, value) in ircutils.separateModes(msg.args[1:]):

View File

@ -351,7 +351,7 @@ class Topic(callbacks.Plugin):
def unlock(self, irc, msg, args, channel): def unlock(self, irc, msg, args, channel):
"""[<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. necessary if the message isn't sent in the channel itself.
""" """
irc.queueMsg(ircmsgs.mode(channel, '-t')) irc.queueMsg(ircmsgs.mode(channel, '-t'))