summaryrefslogtreecommitdiff
path: root/src/net/ea/buysellhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-09-25 13:48:24 +0300
committerAndrei Karas <akaras@inbox.ru>2013-09-25 13:48:24 +0300
commit6c05739c62484dae8d5ed9fb0dfdb6590aacfe88 (patch)
treedf4a3e32b8ad9e77d894280966a0066f4aef0a94 /src/net/ea/buysellhandler.cpp
parent9a970ba6bc80938b56f3ba731bf4614b40ba573d (diff)
downloadManaVerse-6c05739c62484dae8d5ed9fb0dfdb6590aacfe88.tar.gz
ManaVerse-6c05739c62484dae8d5ed9fb0dfdb6590aacfe88.tar.bz2
ManaVerse-6c05739c62484dae8d5ed9fb0dfdb6590aacfe88.tar.xz
ManaVerse-6c05739c62484dae8d5ed9fb0dfdb6590aacfe88.zip
improve a bit strings declaration.
Diffstat (limited to 'src/net/ea/buysellhandler.cpp')
-rw-r--r--src/net/ea/buysellhandler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/ea/buysellhandler.cpp b/src/net/ea/buysellhandler.cpp
index f1eb536fd..601c3fbdf 100644
--- a/src/net/ea/buysellhandler.cpp
+++ b/src/net/ea/buysellhandler.cpp
@@ -57,7 +57,7 @@ void BuySellHandler::requestSellList(const std::string &nick) const
if (nick.empty() != 0 || !shopWindow)
return;
- const std::string data = "!selllist " + toString(tick_time);
+ const std::string data("!selllist " + toString(tick_time));
shopWindow->setAcceptPlayer(nick);
if (config.getBoolValue("hideShopMessages"))
@@ -76,7 +76,7 @@ void BuySellHandler::requestBuyList(const std::string &nick) const
if (nick.empty() || !shopWindow)
return;
- const std::string data = "!buylist " + toString(tick_time);
+ const std::string data("!buylist " + toString(tick_time));
shopWindow->setAcceptPlayer(nick);
if (config.getBoolValue("hideShopMessages"))