summaryrefslogtreecommitdiff
path: root/src/actions/commands.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/actions/commands.cpp')
-rw-r--r--src/actions/commands.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/actions/commands.cpp b/src/actions/commands.cpp
index 4f809411c..df86fefc2 100644
--- a/src/actions/commands.cpp
+++ b/src/actions/commands.cpp
@@ -1888,4 +1888,15 @@ impHandler(partyAutoItemShare)
return true;
}
+impHandler0(outfitToChat)
+{
+ if (!outfitWindow || !chatWindow)
+ return false;
+
+ const std::string str = outfitWindow->getOutfitString();
+ if (!str.empty())
+ chatWindow->addInputText(str);
+ return true;
+}
+
} // namespace Actions