summaryrefslogtreecommitdiff
path: root/data/rbot
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2008-07-30 22:44:50 +0200
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2008-07-30 22:45:06 +0200
commit965785ca3a01229f996583a677d06a2087590530 (patch)
tree370fa36410f2e89d77f4b677e8aef565c97e4c30 /data/rbot
parentd3883617a4ceaf6fbf88620a00000e4909c78c14 (diff)
nickrecover plugin: help
Diffstat (limited to 'data/rbot')
-rw-r--r--data/rbot/plugins/nickrecover.rb10
1 files changed, 9 insertions, 1 deletions
diff --git a/data/rbot/plugins/nickrecover.rb b/data/rbot/plugins/nickrecover.rb
index b6d8e61e..e6e56b87 100644
--- a/data/rbot/plugins/nickrecover.rb
+++ b/data/rbot/plugins/nickrecover.rb
@@ -21,7 +21,15 @@ class NickRecoverPlugin < Plugin
bot.plugin['nickrecover'].stop_recovery
end
end, :requires_restart => false,
- :desc => _("Time in seconds to wait between attempts to recover the nick"))
+ :desc => _("Time in seconds to wait between attempts to recover the nick. set to 0 to disable nick recovery."))
+
+ def help(plugin,topic="")
+ [
+ _("the nickrecover plugin takes care of recovering the bot nick by trying to change nick until it succeeds."),
+ _("the plugin waits irc.nick_retry seconds between attempts."),
+ _("set irc.nick_retry to 0 to disable it.")
+ ].join(' ')
+ end
def enabled?
@bot.config['irc.nick_retry'] > 0