From a307a4692e18f7828659a1c498a157b7c393804b Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Sun, 9 Jan 2011 14:24:50 +0100 Subject: [PATCH] Glob2Chan: fix @nowelcome --- Glob2Chan/plugin.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Glob2Chan/plugin.py b/Glob2Chan/plugin.py index 4baa208..dfd35f2 100644 --- a/Glob2Chan/plugin.py +++ b/Glob2Chan/plugin.py @@ -63,6 +63,9 @@ class Glob2Chan(callbacks.Plugin): (nick, version))) def g2help(self, irc, msg, args, mode): + """[{irc|yog}] + + Prints help for IRC/YOG users.""" channel = msg.args[0] if channel != '#glob2': return @@ -102,7 +105,7 @@ class Glob2Chan(callbacks.Plugin): 'you a welcome message, but you ask me to stop sending them ' 'to you. Are you crazy?') return - self.registryValue('nowelcome', value='%s %s' % + self.setRegistryValue('nowelcome', value='%s %s' % (self.registryValue('nowelcome'), nick)) irc.reply('I will not send you again the welcome message') nowelcome = wrap(nowelcome, [])