summaryrefslogtreecommitdiff
path: root/src/gui/windows/chatwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windows/chatwindow.cpp')
-rw-r--r--src/gui/windows/chatwindow.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/windows/chatwindow.cpp b/src/gui/windows/chatwindow.cpp
index 69e8c0907..dae1c86b2 100644
--- a/src/gui/windows/chatwindow.cpp
+++ b/src/gui/windows/chatwindow.cpp
@@ -549,6 +549,7 @@ void ChatWindow::removeChannel(const std::string &name)
std::string tempName = name;
toLower(tempName);
mChannels.erase(tempName);
+ chatHandler->partChannel(name);
}
void ChatWindow::removeAllWhispers()