diff --git a/plugins/tell.py b/plugins/tell.py index eb1177b..7c1c1d9 100644 --- a/plugins/tell.py +++ b/plugins/tell.py @@ -70,7 +70,7 @@ def showtells(inp, nick='', chan='', pm=None, db=None): @hook.command -def tell(inp, nick='', chan='', db=None): +def tell(inp, nick='', chan='', db=None, conn=None): ".tell -- relay to when is around" query = inp.split(' ', 1) @@ -85,7 +85,7 @@ def tell(inp, nick='', chan='', db=None): if chan.lower() == user_from.lower(): chan = 'a pm' - if user_to == user_from.lower(): + if user_to in (user_from.lower(), conn.nick.lower()): return "No." db_init(db)