summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorJon Bergli Heier <snakebite@jvnv.net>2010-05-27 00:31:44 +0200
committerJon Bergli Heier <snakebite@jvnv.net>2010-05-27 00:31:44 +0200
commitc30851b50bccb7ff8ed4b721c1347d69c6c01e35 (patch)
tree5ca6cf95ee71776e3ecd497771278422772f2bc0 /modules
parentc985264a7814a684d1c425ae62ae19ab5100a4a5 (diff)
Reverted local database changes.
Diffstat (limited to 'modules')
-rw-r--r--modules/anidb.py2
-rw-r--r--modules/quotes.py2
2 files changed, 2 insertions, 2 deletions
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):