diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-01-11 17:00:44 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-01-11 17:00:44 +0300 |
commit | 2791fac578c27f6dafc8d5fcebc7f281424285d6 (patch) | |
tree | 5852a9b26901c5461619a595738423321e044e05 /src/actions/chat.cpp | |
parent | 36345952f734b410e745ccfe093b9c12cc65c4fe (diff) | |
download | manaverse-2791fac578c27f6dafc8d5fcebc7f281424285d6.tar.gz manaverse-2791fac578c27f6dafc8d5fcebc7f281424285d6.tar.bz2 manaverse-2791fac578c27f6dafc8d5fcebc7f281424285d6.tar.xz manaverse-2791fac578c27f6dafc8d5fcebc7f281424285d6.zip |
Add chat command for select guild chat tab.
New chat command: /guildtab
Alias: /guildchattab
Diffstat (limited to 'src/actions/chat.cpp')
-rw-r--r-- | src/actions/chat.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/actions/chat.cpp b/src/actions/chat.cpp index 3091bb108..cacafea5b 100644 --- a/src/actions/chat.cpp +++ b/src/actions/chat.cpp @@ -513,4 +513,11 @@ impHandler0(chatPartyTab) return true; } +impHandler0(chatGuildTab) +{ + if (chatWindow) + chatWindow->selectTabByType(ChatTabType::GUILD); + return true; +} + } // namespace Actions |