summaryrefslogtreecommitdiff
path: root/src/session.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/session.hpp')
-rw-r--r--src/session.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/session.hpp b/src/session.hpp
index ad2cc24..882c630 100644
--- a/src/session.hpp
+++ b/src/session.hpp
@@ -5,6 +5,7 @@
#include "format.hpp"
#include <memory>
#include <netinet/in.h>
+#include <optional>
#include <string>
#include <thread>
@@ -62,7 +63,7 @@ class CSession {
int m_port;
bool m_isAdmin = false;
- bool m_isReading = false;
+ std::optional<std::string> m_szReading = std::nullopt;
bool m_bMuted = false;
bool m_bDeaf = true; // init as true as we don't want anything during registerSession