diff options
| -rw-r--r-- | src/crsm.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/crsm.cpp b/src/crsm.cpp index 05fca25..572eb11 100644 --- a/src/crsm.cpp +++ b/src/crsm.cpp @@ -1853,6 +1853,11 @@ CMD_FUNCTION_IMPL(passToClonk) } CMD_FUNCTION_IMPL(admin) + if(Session.State == CRSMSession::None) + { + respond(client, "Solange nichts gehostet ist, kann es keinen Rundenadmin geben.\n"); + return RightsFail; + } ClientInfo *interfaceAdminPtr; switch(client.interface) { |
