lib/cinch/plugins/links-tumblr/links-tumblr.rb in cinch-links-tumblr-0.0.1 vs lib/cinch/plugins/links-tumblr/links-tumblr.rb in cinch-links-tumblr-0.0.2

- old
+ new

@@ -15,10 +15,10 @@ self.help = 'Use .tumblr for the url and password (if any) for the channel\'s tumblr.' def initialize(*args) super - @storage = CinchStorage.new('yaml/tumblr.yaml') + @storage = CinchStorage.new(config[:filename] || 'yaml/tumblr.yml') @storage.data[:history] ||= Hash.new @hostname = config['hostname'] || nil @password = config['password'] || nil @creds = { :consumer_key => config['consumer_key'], :consumer_secret => config['consumer_secret'],