summaryrefslogtreecommitdiff
path: root/lib/rbot
diff options
context:
space:
mode:
authorMatthias Hecker <apoc@geekosphere.org>2015-06-15 00:32:11 +0200
committerMatthias Hecker <apoc@geekosphere.org>2015-06-15 00:32:11 +0200
commitc8a3e49c0efa41716410f5c39b5edc0479b1affb (patch)
tree7c1d4dfeb33233ca1714f6ca021488175e3246b5 /lib/rbot
parent6ead2df0ba73243c0d1805324b0fe64d85c08bac (diff)
journal: cleanup
Diffstat (limited to 'lib/rbot')
-rw-r--r--lib/rbot/journal.rb2
-rw-r--r--lib/rbot/journal/postgres.rb3
2 files changed, 1 insertions, 4 deletions
diff --git a/lib/rbot/journal.rb b/lib/rbot/journal.rb
index 5045f9d5..0b4324fe 100644
--- a/lib/rbot/journal.rb
+++ b/lib/rbot/journal.rb
@@ -126,7 +126,7 @@ module Journal
end
def self.create(name, uri)
- warning 'load journal storage adapter: ' + name
+ log 'load journal storage adapter: ' + name
load File.join(File.dirname(__FILE__), 'journal', name + '.rb')
cls = AbstractStorage.get_impl.first
cls.new(uri: uri)
diff --git a/lib/rbot/journal/postgres.rb b/lib/rbot/journal/postgres.rb
index c62d4c97..52f5fb36 100644
--- a/lib/rbot/journal/postgres.rb
+++ b/lib/rbot/journal/postgres.rb
@@ -11,9 +11,6 @@ module Irc
class Bot
module Journal
- class Query
- end
-
module Storage
class PostgresStorage < AbstractStorage