summaryrefslogtreecommitdiff
path: root/src/gui/chat.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/chat.cpp')
-rw-r--r--src/gui/chat.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/chat.cpp b/src/gui/chat.cpp
index ad5e0c9b..b7c63247 100644
--- a/src/gui/chat.cpp
+++ b/src/gui/chat.cpp
@@ -155,7 +155,7 @@ void ChatWindow::logic()
void
ChatWindow::chatLog(std::string line, int own, std::string channelName)
{
- if(channelName == "getFocused\"")
+ if(channelName.empty())
channelName = getFocused();
ChannelMap::const_iterator chan = mChannels.find(channelName);