summaryrefslogtreecommitdiff
path: root/src/net/ea/adminhandler.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/ea/adminhandler.h')
-rw-r--r--src/net/ea/adminhandler.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/net/ea/adminhandler.h b/src/net/ea/adminhandler.h
index 45b0af0f1..68b7c303e 100644
--- a/src/net/ea/adminhandler.h
+++ b/src/net/ea/adminhandler.h
@@ -42,17 +42,19 @@ class AdminHandler : public Net::AdminHandler
virtual void kickName(const std::string &name);
- virtual void ban(int playerId);
+ virtual void ban(const int playerId);
virtual void banName(const std::string &name);
- virtual void unban(int playerId);
+ virtual void unban(const int playerId);
virtual void unbanName(const std::string &name);
- virtual void mute(int playerId, int type, int limit);
+ virtual void mute(const int playerId, const int type,
+ const int limit);
- virtual void warp(std::string map, int x, int y);
+ virtual void warp(const std::string &map,
+ const int x, const int y);
};
} // namespace Ea