summaryrefslogtreecommitdiffstats
path: root/src/crsm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/crsm.cpp')
-rw-r--r--src/crsm.cpp5
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)
{