summaryrefslogtreecommitdiff
path: root/src/auctionmanager.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-08-24 18:29:30 +0300
committerAndrei Karas <akaras@inbox.ru>2012-08-24 18:30:16 +0300
commita316d537dce50f4b4e1e10f5c26a7851baddbd8b (patch)
tree078de355216db6dab67df9575402cdba7d537dbd /src/auctionmanager.cpp
parentcb00b6fe126afe5fff8fc7ff491fda6003ea68f2 (diff)
downloadplus-a316d537dce50f4b4e1e10f5c26a7851baddbd8b.tar.gz
plus-a316d537dce50f4b4e1e10f5c26a7851baddbd8b.tar.bz2
plus-a316d537dce50f4b4e1e10f5c26a7851baddbd8b.tar.xz
plus-a316d537dce50f4b4e1e10f5c26a7851baddbd8b.zip
Small style changes.
Also fix overloaded methods visibility.
Diffstat (limited to 'src/auctionmanager.cpp')
-rw-r--r--src/auctionmanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/auctionmanager.cpp b/src/auctionmanager.cpp
index 70513ce8c..03068c607 100644
--- a/src/auctionmanager.cpp
+++ b/src/auctionmanager.cpp
@@ -56,7 +56,7 @@ void AuctionManager::init()
val = 0;
serverConfig.setValue("enableAuctionBot", val);
}
- mEnableAuctionBot = val;
+ mEnableAuctionBot = (val != 0);
if (mEnableAuctionBot)
auctionManager = new AuctionManager();
}