diff options
author | Sadie Powell <sadie@witchery.services> | 2020-02-24 02:10:36 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2020-03-05 20:47:18 +0000 |
commit | 9a0046a709e1fe9236d54838e2de530813972400 (patch) | |
tree | 7c5dafcf2f0c149f222f7eb02e458e34dbdec6ce /src/modules | |
parent | d05695e5cbc1d2843bf1603e71fc2003117deb3a (diff) |
Allow modules to prevent a message from updating the idle time.
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/m_ircv3_ctctags.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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. |