From 78744020528ef6231e1606bbe2e8c53011c77935 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 18 Sep 2013 21:52:15 +0300 Subject: add const to net classes. --- src/net/ea/adminhandler.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/net/ea/adminhandler.cpp') diff --git a/src/net/ea/adminhandler.cpp b/src/net/ea/adminhandler.cpp index 583239f0c..36a08bc4c 100644 --- a/src/net/ea/adminhandler.cpp +++ b/src/net/ea/adminhandler.cpp @@ -93,7 +93,8 @@ void AdminHandler::ipcheckName(const std::string &name) const Net::getChatHandler()->talk("@ipcheck " + name, GENERAL_CHANNEL); } -void AdminHandler::createItems(const int id, const int color, const int amount) +void AdminHandler::createItems(const int id, const int color, + const int amount) const { if (serverVersion < 1) { -- cgit v1.2.3-70-g09d2