summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2006-08-17 14:27:43 +0000
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2006-08-17 14:27:43 +0000
commit9a3f00aa082c0415161c99eb633c6ed41aa71b4e (patch)
treeea510157b0f3f692664a9748b9b398d8c0eea6e9
parent65a0f65101a02248d90d09432bf68f2e48187f07 (diff)
Nickserv plugin now defaults to very strict permissions. Only owner can make the bot register/identify/whatever now
-rw-r--r--ChangeLog2
-rw-r--r--data/rbot/plugins/nickserv.rb3
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 5de091d1..3e265426 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -6,6 +6,8 @@
It's a RuntimeError now.
* Fix help: this time for real (or so I hope).
* New IRC Framework: topic plugin now works correctly.
+ * New Auth Framework: nickserv plugin now defaults to false for its
+ auth, so that only owner can do stuff with it
2006-08-12 Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
diff --git a/data/rbot/plugins/nickserv.rb b/data/rbot/plugins/nickserv.rb
index a5280b1f..a630a4be 100644
--- a/data/rbot/plugins/nickserv.rb
+++ b/data/rbot/plugins/nickserv.rb
@@ -147,3 +147,6 @@ plugin.map 'nickserv register :passwd :email', :action => 'nick_register',
:defaults => {:passwd => false, :email => false}
plugin.map 'nickserv listnicks', :action => "listnicks"
plugin.map 'nickserv identify', :action => "identify"
+
+plugin.default_auth('*', false)
+