diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-08-23 22:13:50 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-08-23 22:13:50 +0300 |
commit | 81a7b06f2ff1fad4b012068b15975bdb5e86a0e4 (patch) | |
tree | 74719015e27e35928403aded155ac31abede5e6c /src/actions/chat.cpp | |
parent | 1a652f220d1c74333cd2f54953dbaf41907314b6 (diff) | |
download | plus-81a7b06f2ff1fad4b012068b15975bdb5e86a0e4.tar.gz plus-81a7b06f2ff1fad4b012068b15975bdb5e86a0e4.tar.bz2 plus-81a7b06f2ff1fad4b012068b15975bdb5e86a0e4.tar.xz plus-81a7b06f2ff1fad4b012068b15975bdb5e86a0e4.zip |
Move chat command /clear into actions.
Diffstat (limited to 'src/actions/chat.cpp')
-rw-r--r-- | src/actions/chat.cpp | 10 |
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 |