]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/commitdiff
Nickserv fixes
authorTom Gilbert <tom@linuxbrit.co.uk>
Sun, 10 Oct 2004 23:46:48 +0000 (23:46 +0000)
committerTom Gilbert <tom@linuxbrit.co.uk>
Sun, 10 Oct 2004 23:46:48 +0000 (23:46 +0000)
ChangeLog
TODO
rbot/plugins/nickserv.rb
rbotconf/levels.rbot

index f59fe5219758166e403c8e54597c0dbfaeb66e73..ec1c8886acfdd57dc65825ee0e9feadf9c538a6e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+Mon Oct 11 00:37:52 BST 2004  Tom Gilbert <tom@linuxbrit.co.uk>
+
+  * Fixes to the NickServ plugin
+
+Sat Oct 09 23:23:24 BST 2004  Tom Gilbert <tom@linuxbrit.co.uk>
+
+  * Keyword searching
+
 Fri Oct 08 00:40:07 BST 2004  Tom Gilbert <tom@linuxbrit.co.uk>
 
   * fixed insult plugin
diff --git a/TODO b/TODO
index 6c9bae1ff07a4b76c2972b42812eeb6c1ac5a817..1cba66db332f8dd0da0ea886cbd8517845a4e5da 100644 (file)
--- a/TODO
+++ b/TODO
@@ -1,4 +1,5 @@
 o runtime language changing
+o keyword searching
 o maybe runtime language configuration?
 o freeze/thaw factoids (make them readonly) at higher auth
 o respond to insults
index 2a40bae5ff633ac48cd7799e2b63e0c0fc19ccee..6067ec3e490d57e9730e0fe6088bf4632e7bd456 100644 (file)
@@ -42,11 +42,12 @@ class NickServPlugin < Plugin
     when (/^register$/)
       passwd = genpasswd
       @bot.sendmsg "PRIVMSG", "NickServ", "REGISTER " + passwd
-      @registry[nick] = passwd
+      @registry[@bot.nick] = passwd
       @bot.okay m.replyto
     when (/^register\s*(.*)\s*$/)
       passwd = $1
       @bot.sendmsg "PRIVMSG", "NickServ", "REGISTER " + passwd
+      @registry[@bot.nick] = passwd
       @bot.okay m.replyto
     when (/^listnicks$/)
       if @bot.auth.allow?("config", m.source, m.replyto)
index 60e02d7670332d0f182c3e47ec143d9faf68bd81..2d11c2df8cca7004d6664c961c4ed832b9aa5d53 100644 (file)
@@ -18,3 +18,4 @@
 5 remind
 5 keyword
 15 delquote
+70 opmeh