justify quiting
This commit is contained in:
parent
f33fad269c
commit
a5a9e25643
|
@ -67,6 +67,10 @@ def quote(inp, nick='', chan='', db=None, admin=False):
|
|||
|
||||
if add:
|
||||
quoted_nick, msg = add.groups()
|
||||
|
||||
if quoted_nick == nick:
|
||||
return "You can't add quotes for yourself"
|
||||
|
||||
try:
|
||||
add_quote(db, chan, quoted_nick, nick, msg)
|
||||
db.commit()
|
||||
|
|
Loading…
Reference in New Issue