aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorGravatar Sadie Powell2021-01-31 13:49:52 +0000
committerGravatar Sadie Powell2021-01-31 13:50:28 +0000
commit14eed266667983e875ac0f2bc1610539475abc6b (patch)
tree173a1589b40c2e4af7bb648448572f56e1e44716 /include
parentFix a shadowing warning in SERVLIST. (diff)
Move sendmsglist to above the functions in LocalUser.
Diffstat (limited to 'include')
-rw-r--r--include/users.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/users.h b/include/users.h
index 10692f0da..350f6b2f3 100644
--- a/include/users.h
+++ b/include/users.h
@@ -662,6 +662,10 @@ typedef unsigned int already_sent_t;
class CoreExport LocalUser : public User, public insp::intrusive_list_node<LocalUser>
{
+ private:
+ /** Message list, can be passed to the two parameter Send(). */
+ static ClientProtocol::MessageList sendmsglist;
+
/** Add a serialized message to the send queue of the user.
* @param serialized Bytes to add.
*/
@@ -674,10 +678,6 @@ class CoreExport LocalUser : public User, public insp::intrusive_list_node<Local
*/
void Send(ClientProtocol::Event& protoev, ClientProtocol::MessageList& msglist);
- /** Message list, can be passed to the two parameter Send().
- */
- static ClientProtocol::MessageList sendmsglist;
-
public:
LocalUser(int fd, irc::sockets::sockaddrs* client, irc::sockets::sockaddrs* server);
LocalUser(int fd, const std::string& uuid, Serializable::Data& data);