diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2007-03-17 19:36:41 +0000 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2007-03-17 19:36:41 +0000 |
commit | 9e743517a8a8a7455d4186d63d545b34dd5419e8 (patch) | |
tree | fae3afd549a623663b30587462310e472ec8cde2 | |
parent | 2e6f388addc0bb9ddc0cb991af50220c1e5e64c3 (diff) |
Plugins: rename Plugins::pluginmanager to Plugins::manager
-rw-r--r-- | lib/rbot/ircbot.rb | 2 | ||||
-rw-r--r-- | lib/rbot/plugins.rb | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/rbot/ircbot.rb b/lib/rbot/ircbot.rb index fed37731..f4ddc8fa 100644 --- a/lib/rbot/ircbot.rb +++ b/lib/rbot/ircbot.rb @@ -437,7 +437,7 @@ class Bot @auth.botowner.password= @config['auth.password'] Dir.mkdir("#{botclass}/plugins") unless File.exist?("#{botclass}/plugins") - @plugins = Plugins::pluginmanager + @plugins = Plugins::manager @plugins.bot_associate(self) setup_plugins_path() diff --git a/lib/rbot/plugins.rb b/lib/rbot/plugins.rb index d29d21c1..cc4b5372 100644 --- a/lib/rbot/plugins.rb +++ b/lib/rbot/plugins.rb @@ -109,7 +109,7 @@ module Plugins # initialise your bot module. Always call super if you override this method, # as important variables are set up for you def initialize - @manager = Plugins::pluginmanager + @manager = Plugins::manager @bot = @manager.bot @botmodule_triggers = Array.new @@ -627,7 +627,7 @@ module Plugins end # Returns the only PluginManagerClass instance - def Plugins.pluginmanager + def Plugins.manager return PluginManagerClass.instance end |