diff options
Diffstat (limited to 'lib/rbot/plugins.rb')
-rw-r--r-- | lib/rbot/plugins.rb | 4 |
1 files changed, 2 insertions, 2 deletions
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 |