summaryrefslogtreecommitdiff
path: root/src/session.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/session.cpp')
-rw-r--r--src/session.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/session.cpp b/src/session.cpp
index 070562c..df4e506 100644
--- a/src/session.cpp
+++ b/src/session.cpp
@@ -186,7 +186,7 @@ bool CSession::write(const std::string &msg) {
return write("{}", msg);
}
-std::string CSession::getName() {
+const std::string &CSession::getName() const {
return m_name;
}