aboutsummaryrefslogtreecommitdiff
path: root/src/server.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/server.h')
-rw-r--r--src/server.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/server.h b/src/server.h
index 21e9c811c..19bedf74a 100644
--- a/src/server.h
+++ b/src/server.h
@@ -330,6 +330,8 @@ public:
void peerAdded(con::Peer *peer);
void deletingPeer(con::Peer *peer, bool timeout);
+ void DenyAccess(u16 peer_id, const std::wstring &reason);
+
private:
friend class EmergeThread;
@@ -415,7 +417,6 @@ private:
void DiePlayer(u16 peer_id);
void RespawnPlayer(u16 peer_id);
- void DenyAccess(u16 peer_id, const std::wstring &reason);
void DeleteClient(u16 peer_id, ClientDeletionReason reason);
void UpdateCrafting(u16 peer_id);