summaryrefslogtreecommitdiff
path: root/src/gui/widgets/channeltab.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/channeltab.cpp')
-rw-r--r--src/gui/widgets/channeltab.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/channeltab.cpp b/src/gui/widgets/channeltab.cpp
index f8c92a6e..c17aec0a 100644
--- a/src/gui/widgets/channeltab.cpp
+++ b/src/gui/widgets/channeltab.cpp
@@ -63,7 +63,7 @@ ChannelTab::~ChannelTab()
{
}
-void ChannelTab::sendChat(std::string &msg) {
+void ChannelTab::sendChat(const std::string &msg) {
#ifdef TMSERV_SUPPORT
Net::ChatServer::chat(getId(), msg);
#endif