fix wrong var name

This commit is contained in:
Yann Leboulanger 2006-10-06 07:03:08 +00:00
parent b1bb085e55
commit eb0edc36fd
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@ class Logger:
def jid_is_room_jid(self, jid):
self.cur.execute('SELECT jid_id FROM jids WHERE jid=? AND type=?',
(possible_room_jid, constants.JID_ROOM_TYPE))
(jid, constants.JID_ROOM_TYPE))
row = self.cur.fetchone()
if row is None:
return False