diff options
-rw-r--r-- | crocoite/irc.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crocoite/irc.py b/crocoite/irc.py index d0b5bb9..0803398 100644 --- a/crocoite/irc.py +++ b/crocoite/irc.py @@ -366,7 +366,7 @@ class ArgparseBot (bottom.Client): async def onMessage (self, nick, target, message, **kwargs): """ Message received """ - if target in self.channels and message.startswith (self.nick): + if target in self.channels and message.startswith (self.nick + ':'): user = self.users[target].get (nick, User (nick)) reply = ReplyContext (client=self, target=target, user=user) |