summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tabs/chat/channeltab.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/tabs/chat/channeltab.cpp')
-rw-r--r--src/gui/widgets/tabs/chat/channeltab.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/widgets/tabs/chat/channeltab.cpp b/src/gui/widgets/tabs/chat/channeltab.cpp
index 43ba86acf..6f7242578 100644
--- a/src/gui/widgets/tabs/chat/channeltab.cpp
+++ b/src/gui/widgets/tabs/chat/channeltab.cpp
@@ -72,3 +72,9 @@ bool ChannelTab::handleCommand(const std::string &restrict type,
return true;
}
+
+void ChannelTab::getAutoCompleteCommands(StringVect& commands) const
+{
+ commands.push_back("/close");
+ commands.push_back(mChannelName);
+}