From 81a7b06f2ff1fad4b012068b15975bdb5e86a0e4 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 23 Aug 2014 22:13:50 +0300 Subject: Move chat command /clear into actions. --- src/actions/chat.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/actions/chat.cpp') diff --git a/src/actions/chat.cpp b/src/actions/chat.cpp index 858b5acbb..74f3fc691 100644 --- a/src/actions/chat.cpp +++ b/src/actions/chat.cpp @@ -232,4 +232,14 @@ impHandler(query) return true; } +impHandler0(clearChatTab) +{ + if (chatWindow) + { + chatWindow->clearTab(); + return true; + } + return false; +} + } // namespace Actions -- cgit v1.2.3-60-g2f50