diff --git a/plugins/quote.py b/plugins/quote.py index ec9925d..7854e60 100644 --- a/plugins/quote.py +++ b/plugins/quote.py @@ -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()