diff options
Diffstat (limited to 'src/auctionmanager.cpp')
-rw-r--r-- | src/auctionmanager.cpp | 2 |
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(); } |