summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/message.h4
-rw-r--r--include/modules/ctctags.h4
2 files changed, 8 insertions, 0 deletions
diff --git a/include/message.h b/include/message.h
index 3a7c7018e..eae27ff94 100644
--- a/include/message.h
+++ b/include/message.h
@@ -39,6 +39,9 @@ class CoreExport MessageDetails
/* Whether to send the original message 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;
@@ -78,6 +81,7 @@ class CoreExport MessageDetails
MessageDetails(MessageType mt, const std::string& msg, const ClientProtocol::TagMap& tags)
: echo(true)
, echo_original(false)
+ , update_idle(true)
, original_text(msg)
, tags_in(tags)
, text(msg)
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)
{
}