From 70a6e6932d2b27dc516aa031fded1afe3359a850 Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Fri, 15 Jul 2011 23:04:49 +0200 Subject: [PATCH 1/7] Protector: Fix variable name. Signed-off-by: James McCoy --- plugins/Protector/plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/Protector/plugin.py b/plugins/Protector/plugin.py index cae90feeb..0867e48eb 100644 --- a/plugins/Protector/plugin.py +++ b/plugins/Protector/plugin.py @@ -96,7 +96,7 @@ class Protector(callbacks.Plugin): channel = msg.args[0] chanOp = ircdb.makeChannelCapability(channel, 'op') chanVoice = ircdb.makeChannelCapability(channel, 'voice') - chanhalfop = ircdb.makeChannelCapability(channel, 'halfop') + chanHalfOp = ircdb.makeChannelCapability(channel, 'halfop') if not ircdb.checkCapability(msg.prefix, chanOp): irc.sendMsg(ircmsgs.deop(channel, msg.nick)) for (mode, value) in ircutils.separateModes(msg.args[1:]): From fa8385596dc99a483da4b98946253c8282a5baa6 Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Thu, 30 Jun 2011 19:28:20 +0200 Subject: [PATCH 2/7] Karma: fix typo. Closes GH-38. Conflicts: plugins/Karma/locale/fi.po plugins/Karma/locale/fr.po plugins/Karma/messages.pot Signed-off-by: James McCoy --- plugins/Karma/plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/Karma/plugin.py b/plugins/Karma/plugin.py index 02570b5af..392590f78 100644 --- a/plugins/Karma/plugin.py +++ b/plugins/Karma/plugin.py @@ -280,7 +280,7 @@ class Karma(callbacks.Plugin): N karmas, where N is determined by the config variable supybot.plugins.Karma.rankingDisplay. If one is given, returns the details of its karma; if more than one is given, returns - the total karma of each of the the things. is only necessary + the total karma of each of the things. is only necessary if the message isn't sent on the channel itself. """ if len(things) == 1: From 8056da06f64796a981defffe7b6e0bac462f0175 Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Sat, 9 Jul 2011 14:05:28 +0200 Subject: [PATCH 3/7] Channel: fix NameError: 'replyirc' -> 'replyIrc'. Closes GH-73. Conflicts: src/version.py Signed-off-by: James McCoy --- plugins/Channel/plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/Channel/plugin.py b/plugins/Channel/plugin.py index 7cb51f937..e4f16f945 100644 --- a/plugins/Channel/plugin.py +++ b/plugins/Channel/plugin.py @@ -418,7 +418,7 @@ class Channel(callbacks.Plugin): nick = msg.args[1] nick = ircutils.toLower(nick) 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)) class lobotomy(callbacks.Commands): From 8fb4cbcdc61c2108309afd46e5a3a516fe676fb1 Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Mon, 18 Jul 2011 15:23:06 +0200 Subject: [PATCH 4/7] Factoids: Fix typo. Conflicts: plugins/Factoids/locale/fi.po plugins/Factoids/locale/fr.po plugins/Factoids/messages.pot src/version.py Signed-off-by: James McCoy --- plugins/Factoids/plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/Factoids/plugin.py b/plugins/Factoids/plugin.py index 30d366fce..f534eeb42 100644 --- a/plugins/Factoids/plugin.py +++ b/plugins/Factoids/plugin.py @@ -382,7 +382,7 @@ class Factoids(callbacks.Plugin, plugins.ChannelDBHandler): """[] [--values] [--{regexp} ] [ ...] Searches the keyspace for keys matching . 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 not optlist and not globs: From 9561c9f41744d70677bf7d8e15a73c9e30ac2502 Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Sat, 30 Oct 2010 12:24:02 +0200 Subject: [PATCH 5/7] Topic: Fix bad doctring Conflicts: plugins/Topic/messages.pot Signed-off-by: James McCoy --- plugins/Topic/plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/Topic/plugin.py b/plugins/Topic/plugin.py index ac9fef272..8cb3387ed 100644 --- a/plugins/Topic/plugin.py +++ b/plugins/Topic/plugin.py @@ -351,7 +351,7 @@ class Topic(callbacks.Plugin): def unlock(self, irc, msg, args, channel): """[] - Locks the topic (sets the mode +t) in . is only + Unlocks the topic (sets the mode +t) in . is only necessary if the message isn't sent in the channel itself. """ irc.queueMsg(ircmsgs.mode(channel, '-t')) From f1690e68677b1c433e25b2c8766338bf995bceee Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Wed, 20 Jul 2011 21:28:43 +0200 Subject: [PATCH 6/7] Topic: fix typo in @unlock help. Conflicts: plugins/Topic/locale/fr.po plugins/Topic/messages.pot src/version.py Signed-off-by: James McCoy --- plugins/Topic/plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/Topic/plugin.py b/plugins/Topic/plugin.py index 8cb3387ed..d3dde3a6b 100644 --- a/plugins/Topic/plugin.py +++ b/plugins/Topic/plugin.py @@ -351,7 +351,7 @@ class Topic(callbacks.Plugin): def unlock(self, irc, msg, args, channel): """[] - Unlocks the topic (sets the mode +t) in . is only + Unlocks the topic (sets the mode -t) in . is only necessary if the message isn't sent in the channel itself. """ irc.queueMsg(ircmsgs.mode(channel, '-t')) From a1a90f76735295a02c5a1450fcbcc571fcb18c24 Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Sun, 7 Aug 2011 12:02:06 +0200 Subject: [PATCH 7/7] NickCapture: Fix plugin help and l10n-fr. Closes GH-116. Conflicts: plugins/NickCapture/locale/fr.po plugins/NickCapture/messages.pot src/version.py Signed-off-by: James McCoy --- plugins/NickCapture/plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/NickCapture/plugin.py b/plugins/NickCapture/plugin.py index e81ad5718..56db6347c 100644 --- a/plugins/NickCapture/plugin.py +++ b/plugins/NickCapture/plugin.py @@ -35,7 +35,7 @@ import supybot.ircutils as ircutils import supybot.callbacks as callbacks 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 will do the rest.""" public = False