summaryrefslogtreecommitdiff
path: root/src/actions/actions.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-26 15:59:27 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-26 15:59:27 +0300
commit662ea582cd57827475062fb6b728da6c21c14181 (patch)
tree1dc38343871d3e36d09a16ee2d85d95ae81da3e0 /src/actions/actions.cpp
parentffe1b11e981112a662669358863805fabe14e94c (diff)
downloadplus-662ea582cd57827475062fb6b728da6c21c14181.tar.gz
plus-662ea582cd57827475062fb6b728da6c21c14181.tar.bz2
plus-662ea582cd57827475062fb6b728da6c21c14181.tar.xz
plus-662ea582cd57827475062fb6b728da6c21c14181.zip
Move chat command /pricesave into actions.
Diffstat (limited to 'src/actions/actions.cpp')
-rw-r--r--src/actions/actions.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/actions/actions.cpp b/src/actions/actions.cpp
index 916bde3c2..97c792470 100644
--- a/src/actions/actions.cpp
+++ b/src/actions/actions.cpp
@@ -625,4 +625,14 @@ impHandler0(priceLoad)
return false;
}
+impHandler0(priceSave)
+{
+ if (shopWindow)
+ {
+ shopWindow->saveList();
+ return true;
+ }
+ return false;
+}
+
} // namespace Actions