diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2007-02-14 22:00:08 +0000 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2007-02-14 22:00:08 +0000 |
commit | d29df50ddaf32536b105decefb135a0b86ee937f (patch) | |
tree | eaf5505ba5a8b569aefdb157eff80cf902fe444d /data/rbot/plugins/debugger.rb | |
parent | ad78fb47422664c9ce24a3b62194e42974274af7 (diff) |
Modernize/optimize/cleanup a bunch of plugins
Remove some unnecessary plugin.register() calls, replace other by plugin.map() calls.
Also use e.g. Array#pick_one instead of ar[rand(ar.length)]
Diffstat (limited to 'data/rbot/plugins/debugger.rb')
-rw-r--r-- | data/rbot/plugins/debugger.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/rbot/plugins/debugger.rb b/data/rbot/plugins/debugger.rb index f0ff0c03..2851d6a9 100644 --- a/data/rbot/plugins/debugger.rb +++ b/data/rbot/plugins/debugger.rb @@ -120,7 +120,7 @@ end plugin = DebugPlugin.new -plugin.register( "debug" ) + plugin.default_auth( 'start', false ) plugin.default_auth( 'stop', false ) plugin.default_auth( 'dumpstrings', false ) |