]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/message.h
Only check for a join time if a user is actually in the channel.
[user/henk/code/inspircd.git] / include / message.h
index eae27ff94c0332d73222e2ae47d046145ea31547..ed44868eeff4fd248f89d408e5aa6f827ea1b068 100644 (file)
@@ -1,8 +1,8 @@
 /*
  * InspIRCd -- Internet Relay Chat Daemon
  *
+ *   Copyright (C) 2018 Attila Molnar <attilamolnar@hush.com>
  *   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
  * redistribute it and/or modify it under the terms of the GNU General Public
@@ -42,7 +42,7 @@ class CoreExport MessageDetails
        /** Whether to update the source user's idle time. */
        bool update_idle;
 
-        /** The users who are exempted from receiving this message. */
+       /** The users who are exempted from receiving this message. */
        CUList exemptions;
 
        /* The original message as sent by the user. */
@@ -58,7 +58,7 @@ class CoreExport MessageDetails
        std::string text;
 
        /** The type of message. */
-       const MessageType type;
+       MessageType type;
 
        /** Determines whether the specified message is a CTCP. If the specified message
         * is a CTCP then the CTCP name and CTCP body are extracted and stored in the