summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-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