Update plugins/quote.py
This commit is contained in:
parent
a8f754ddc1
commit
7f53bdcb49
|
@ -32,8 +32,8 @@ def add_quote(db, chan, nick, add_nick, msg):
|
||||||
(chan, nick, add_nick, msg, time.time()))
|
(chan, nick, add_nick, msg, time.time()))
|
||||||
db.commit()
|
db.commit()
|
||||||
except db.IntegrityError:
|
except db.IntegrityError:
|
||||||
return "message already stored, doing nothing."
|
return "Message already stored, doing nothing."
|
||||||
return "quote added."
|
return "Quote added."
|
||||||
|
|
||||||
def del_quote(db, chan, nick, add_nick, msg):
|
def del_quote(db, chan, nick, add_nick, msg):
|
||||||
"""Deletes a quote from a nick"""
|
"""Deletes a quote from a nick"""
|
||||||
|
|
Reference in a new issue