summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/rbot/ircbot.rb2
-rw-r--r--lib/rbot/plugins.rb4
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