diff options
Diffstat (limited to 'data/rbot/plugins/salut.rb')
-rw-r--r-- | data/rbot/plugins/salut.rb | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/data/rbot/plugins/salut.rb b/data/rbot/plugins/salut.rb index e4295a06..b0bf67e7 100644 --- a/data/rbot/plugins/salut.rb +++ b/data/rbot/plugins/salut.rb @@ -4,17 +4,6 @@ # TODO *REMEMBER* to set @changed to true after edit
# TODO or changes won't be saved
-unless Array.new.respond_to?(:pick_one)
- debug "Defining the pick_one method for Array"
- class ::Array
- def pick_one
- return nil if self.empty?
- self[rand(self.length)]
- end
- end
-end
-
-
class SalutPlugin < Plugin
BotConfig.register BotConfigBooleanValue.new('salut.all_languages',
:default => true,
|