lib/cinch/plugins/octospy.rb in octospy-0.0.1 vs lib/cinch/plugins/octospy.rb in octospy-0.0.2
- old
+ new
@@ -47,10 +47,10 @@
end
end
def show_status(m)
@bot.channels.each.with_index(1) do |channel, i|
- number = ::Octospy.channel(channel).repos.count
+ number = ::Octospy::Recordable.channel(channel).repos.count
m.reply "#{"%02d" % i} #{channel}: #{number} repo"
end
end
def show_commands(m)