summaryrefslogtreecommitdiff
path: root/src/session.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/session.cpp')
-rw-r--r--src/session.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/session.cpp b/src/session.cpp
index 5edfa56..526e041 100644
--- a/src/session.cpp
+++ b/src/session.cpp
@@ -139,6 +139,14 @@ void CSession::run() {
g_pSessionManager->kick(self);
}
+bool CSession::isMuted() const {
+ return m_isMuted;
+}
+
+void CSession::setMuted(bool mute) {
+ m_isMuted = mute;
+}
+
bool CSession::registerSession() {
auto recvData = read("Name: ");
if (!recvData->good)