From 9a0046a709e1fe9236d54838e2de530813972400 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Mon, 24 Feb 2020 02:10:36 +0000 Subject: Allow modules to prevent a message from updating the idle time. --- src/modules/m_ircv3_ctctags.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules') diff --git a/src/modules/m_ircv3_ctctags.cpp b/src/modules/m_ircv3_ctctags.cpp index 421bf89c3..1bb803bc2 100644 --- a/src/modules/m_ircv3_ctctags.cpp +++ b/src/modules/m_ircv3_ctctags.cpp @@ -57,7 +57,7 @@ class CommandTagMsg : public Command { // If the source is local then update its idle time. LocalUser* lsource = IS_LOCAL(source); - if (lsource) + if (lsource && msgdetails.update_idle) lsource->idle_lastmsg = ServerInstance->Time(); // Inform modules that a TAGMSG was sent. -- cgit v1.2.3