MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / adminCommand

Method adminCommand

source/game/StarUniverseServer.cpp:240–243  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

238}
239
240String UniverseServer::adminCommand(String text) {
241 String command = text.extract();
242 return m_commandProcessor->adminCommand(command, text);
243}
244
245bool UniverseServer::isAdmin(ConnectionId clientId) const {
246 ReadLocker clientsLocker(m_clientsLock);

Callers 1

handleCommandMethod · 0.45

Calls 1

extractMethod · 0.80

Tested by

no test coverage detected