diff --git a/modules/line_handler/message.py b/modules/line_handler/message.py index 69317c19..7bc2e27e 100644 --- a/modules/line_handler/message.py +++ b/modules/line_handler/message.py @@ -44,10 +44,11 @@ def privmsg(events, event): ctcp_message = utils.irc.parse_ctcp(message) if ctcp_message: message = ctcp_message.message - event_type = "ctcp.%s" % ctcp_message.command if ctcp_message.command == "ACTION": action = True message = ctcp_message.message + else: + event_type = "ctcp.%s" % ctcp_message.command if user and "account" in event["tags"]: user.identified_account = event["tags"]["account"]