]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/message.h
Document Module::Prioritize.
[user/henk/code/inspircd.git] / include / message.h
index 322e159d1583d7c2710b4dc35b6f9be4fae1d123..eae27ff94c0332d73222e2ae47d046145ea31547 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * InspIRCd -- Internet Relay Chat Daemon
  *
- *   Copyright (C) 2017-2018 Sadie Powell <sadie@witchery.services>
+ *   Copyright (C) 2017-2018, 2020 Sadie Powell <sadie@witchery.services>
  *   Copyright (C) 2017-2018 Attila Molnar <attilamolnar@hush.com>
  *
  * This file is part of InspIRCd.  InspIRCd is free software: you can
@@ -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)