Added a commit to doPrivmsg.

This commit is contained in:
Jeremy Fincher 2003-09-09 17:40:47 +00:00
parent 949deee935
commit 580edc37c5

View File

@ -166,6 +166,7 @@ class Notes(callbacks.Privmsg):
WHERE notes.to_id=(SELECT id
FROM users
WHERE name=%s)""", name)
self.db.commit()
callbacks.Privmsg.doPrivmsg(self, irc, msg)
def sendnote(self, irc, msg, args):