summaryrefslogtreecommitdiff
path: root/include/modules
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2020-02-24 02:10:36 +0000
committerSadie Powell <sadie@witchery.services>2020-03-05 20:47:18 +0000
commit9a0046a709e1fe9236d54838e2de530813972400 (patch)
tree7c5dafcf2f0c149f222f7eb02e458e34dbdec6ce /include/modules
parentd05695e5cbc1d2843bf1603e71fc2003117deb3a (diff)
Allow modules to prevent a message from updating the idle time.
Diffstat (limited to 'include/modules')
-rw-r--r--include/modules/ctctags.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/modules/ctctags.h b/include/modules/ctctags.h
index f1af43c09..ad45d12b1 100644
--- a/include/modules/ctctags.h
+++ b/include/modules/ctctags.h
@@ -85,6 +85,9 @@ class CTCTags::TagMessageDetails
/* Whether to send the original tags back to clients with echo-message support. */
bool echo_original;
+ /** Whether to update the source user's idle time. */
+ bool update_idle;
+
/** The users who are exempted from receiving this message. */
CUList exemptions;
@@ -97,6 +100,7 @@ class CTCTags::TagMessageDetails
TagMessageDetails(const ClientProtocol::TagMap& tags)
: echo(true)
, echo_original(false)
+ , update_idle(true)
, tags_in(tags)
{
}