MCPcopy Index your code
hub / github.com/assaultcube/AC / deleteservermap

Function deleteservermap

source/src/client.cpp:671–676  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

669COMMAND(getmap, "ss");
670
671void deleteservermap(char *mapname)
672{
673 const char *name = behindpath(mapname);
674 if(!*name || securemapcheck(name)) return;
675 addmsg(SV_REMOVEMAP, "rs", name);
676}
677COMMAND(deleteservermap, "s");
678
679string demosubpath;

Callers

nothing calls this directly

Calls 3

behindpathFunction · 0.85
securemapcheckFunction · 0.85
addmsgFunction · 0.85

Tested by

no test coverage detected