summaryrefslogtreecommitdiff
path: root/src/actions/chat.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-23 22:13:50 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-23 22:13:50 +0300
commit81a7b06f2ff1fad4b012068b15975bdb5e86a0e4 (patch)
tree74719015e27e35928403aded155ac31abede5e6c /src/actions/chat.cpp
parent1a652f220d1c74333cd2f54953dbaf41907314b6 (diff)
downloadManaVerse-81a7b06f2ff1fad4b012068b15975bdb5e86a0e4.tar.gz
ManaVerse-81a7b06f2ff1fad4b012068b15975bdb5e86a0e4.tar.bz2
ManaVerse-81a7b06f2ff1fad4b012068b15975bdb5e86a0e4.tar.xz
ManaVerse-81a7b06f2ff1fad4b012068b15975bdb5e86a0e4.zip
Move chat command /clear into actions.
Diffstat (limited to 'src/actions/chat.cpp')
-rw-r--r--src/actions/chat.cpp10
1 files changed, 10 insertions, 0 deletions
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