summaryrefslogtreecommitdiff
path: root/window.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'window.cpp')
-rw-r--r--window.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/window.cpp b/window.cpp
index f48164c..00e3e22 100644
--- a/window.cpp
+++ b/window.cpp
@@ -356,3 +356,11 @@ char Channel::getEffectivePrefixChar(const char *nick) const {
return 0;
}
+
+
+void Channel::disconnected() {
+ if (inChannel) {
+ inChannel = false;
+ pushMessage("You have been disconnected.");
+ }
+}