summaryrefslogtreecommitdiff
path: root/lib/rbot/plugins.rb
diff options
context:
space:
mode:
authordmitry kim <jason@nichego.net>2008-06-17 17:32:41 +0400
committerdmitry kim <jason@nichego.net>2008-06-17 17:36:15 +0400
commit09f65ecdf359c68ba0f26e7810d5772919346f71 (patch)
treefdab60843d9659ca3343f17379dea5e3ed0647bc /lib/rbot/plugins.rb
parenteea0523e74b28acacb1156f10bc88b8191c37ce0 (diff)
* plugins.rb: avoid uninitialized warning on @priority
Diffstat (limited to 'lib/rbot/plugins.rb')
-rw-r--r--lib/rbot/plugins.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/rbot/plugins.rb b/lib/rbot/plugins.rb
index d1bf073a..a6d1f543 100644
--- a/lib/rbot/plugins.rb
+++ b/lib/rbot/plugins.rb
@@ -179,6 +179,7 @@ module Plugins
def initialize
@manager = Plugins::manager
@bot = @manager.bot
+ @priority = nil
@botmodule_triggers = Array.new