Permalink
Browse files

disable database for now. i'm doing it rong.

  • Loading branch information...
1 parent 4bd8e73 commit e1f12bd5251f08cde36e6717707fc4f1d640c08f @jamiew committed Apr 20, 2009
Showing with 3 additions and 3 deletions.
  1. +3 −3 fatbot.rb
View
@@ -7,11 +7,11 @@
require 'rubygems'
require 'open-uri'
-require 'sequel'
+#require 'sequel'
require 'isaac'
#gem 'jnunemaker-twitter'; require 'twitter'
-DB = Sequel.sqlite('irc.db')
+#DB = Sequel.sqlite('irc.db')
configure do |c|
c.nick = "dubtron"
@@ -82,6 +82,6 @@ def ops?(nick)
on :channel, /.*/ do
msg = message.chomp
puts "#{channel} <#{nick}> #{msg}"
- DB[:messages] << {:channel => channel, :nick => nick, :message => msg, :at => Time.now}
+ # DB[:messages] << {:channel => channel, :nick => nick, :message => msg, :at => Time.now}
end

0 comments on commit e1f12bd

Please sign in to comment.