diff options
Diffstat (limited to 'src/actions')
-rw-r--r-- | src/actions/chat.cpp | 7 | ||||
-rw-r--r-- | src/actions/chat.h | 1 |
2 files changed, 8 insertions, 0 deletions
diff --git a/src/actions/chat.cpp b/src/actions/chat.cpp index 8c5a8ebb4..f6135c674 100644 --- a/src/actions/chat.cpp +++ b/src/actions/chat.cpp @@ -450,4 +450,11 @@ impHandler(kickParty) return true; } +impHandler(addText) +{ + if (chatWindow) + chatWindow->addInputText(event.args); + return true; +} + } // namespace Actions diff --git a/src/actions/chat.h b/src/actions/chat.h index 3171d4118..12fa35963 100644 --- a/src/actions/chat.h +++ b/src/actions/chat.h @@ -47,6 +47,7 @@ namespace Actions decHandler(me); decHandler(toggle); decHandler(kickParty); + decHandler(addText); } // namespace Actions #undef decHandler |