summaryrefslogtreecommitdiff
path: root/src/auctionmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/auctionmanager.cpp')
-rw-r--r--src/auctionmanager.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/auctionmanager.cpp b/src/auctionmanager.cpp
index 03068c607..9b35ff877 100644
--- a/src/auctionmanager.cpp
+++ b/src/auctionmanager.cpp
@@ -61,19 +61,20 @@ void AuctionManager::init()
auctionManager = new AuctionManager();
}
-void AuctionManager::send(std::string msg)
+void AuctionManager::send(const std::string &msg)
{
if (Net::getChatHandler())
Net::getChatHandler()->privateMessage("AuctionBot", msg);
}
-bool AuctionManager::processAuctionMessage(std::string msg)
+/*
+bool AuctionManager::processAuctionMessage(const std::string &msg)
{
if (msg.size() > 4 && msg[0] == '#' && msg[1] == '#')
msg = msg.substr(3);
-
return false;
}
+*/
void AuctionManager::clear()
{
@@ -83,7 +84,7 @@ void AuctionManager::reload()
{
}
-void AuctionManager::sendMail(std::string mail)
+void AuctionManager::sendMail(const std::string &mail)
{
if (Net::getChatHandler())
Net::getChatHandler()->privateMessage("AuctionBot", "!mail " + mail);