summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-04-04 22:49:50 +0300
committerAndrei Karas <akaras@inbox.ru>2016-04-05 15:56:48 +0300
commit011d05e7ff9abfc6052951fee954b1c193ea4fff (patch)
tree02ffbdad94063288d6809b0ae6db20f88a39099c /src/client.cpp
parent4f521dad0d3b06e07bb562f05e524c909b7fe878 (diff)
downloadmanaplus-011d05e7ff9abfc6052951fee954b1c193ea4fff.tar.gz
manaplus-011d05e7ff9abfc6052951fee954b1c193ea4fff.tar.bz2
manaplus-011d05e7ff9abfc6052951fee954b1c193ea4fff.tar.xz
manaplus-011d05e7ff9abfc6052951fee954b1c193ea4fff.zip
Add into paths.xml option for set string for commands in links.
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client.cpp b/src/client.cpp
index f1c77f728..3259f2265 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -1819,6 +1819,9 @@ void Client::initPaths()
{
settings.gmCommandSymbol = paths.getStringValue("gmCommandSymbol");
settings.gmCharCommandSymbol = paths.getStringValue("gmCharCommandSymbol");
+ settings.linkCommandSymbol = paths.getStringValue("linkCommandSymbol");
+ if (settings.linkCommandSymbol.empty())
+ settings.linkCommandSymbol = "=";
}
void Client::initTradeFilter()