From c30851b50bccb7ff8ed4b721c1347d69c6c01e35 Mon Sep 17 00:00:00 2001 From: Jon Bergli Heier Date: Thu, 27 May 2010 00:31:44 +0200 Subject: Reverted local database changes. --- modules/anidb.py | 2 +- modules/quotes.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'modules') diff --git a/modules/anidb.py b/modules/anidb.py index 3c8302e..fbc9e11 100644 --- a/modules/anidb.py +++ b/modules/anidb.py @@ -20,7 +20,7 @@ for option in ('username', 'password'): class Module: def __init__(self, bot): self.irc = bot - self.db = PgSQL.connect(database = 'fot', host = 'komachi.') + self.db = PgSQL.connect(database = 'fot') self.irc.register_keyword('!anidb', self) def get_aid(self, msg, short = False): diff --git a/modules/quotes.py b/modules/quotes.py index 54cacd9..772701c 100644 --- a/modules/quotes.py +++ b/modules/quotes.py @@ -16,7 +16,7 @@ class Quotes: return q def connect(self, db): - self.db = PgSQL.connect(database = 'fot', host = 'komachi.') + self.db = PgSQL.connect(database = 'fot') self.updatecount() def updatecount(self): -- cgit v1.2.3