aboutsummaryrefslogtreecommitdiff
path: root/lib/chotto.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chotto.rb')
-rw-r--r--lib/chotto.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/chotto.rb b/lib/chotto.rb
index 62e9a0d..61f149b 100644
--- a/lib/chotto.rb
+++ b/lib/chotto.rb
@@ -9,6 +9,9 @@ require_relative 'chotto/helpers'
require_relative 'chotto/message'
require_relative 'chotto/messages'
require_relative 'chotto/ruleset'
+require_relative 'chotto/token'
+require_relative 'chotto/token_group'
+require_relative 'chotto/message_thread'
module Chotto
class << self
@@ -34,7 +37,7 @@ module Chotto
end
def rule_set(name, &block)
- @rule_sets << RuleSet.new(name, db, block)
+ @rule_sets << RuleSet.new(name, db, config.only_new, block)
end
def close_db