Method code for $command_cache.cache_server_uninit()

[Turn on line numbering]
var user;

if (caller() != $command_cache)
    throw(~perm, "Caller is not of the command subsystem.");

// see if anybody still needs us, otherwise purge
if (.is_general_cache()) {
    for user in ($user_db.connected()) {
        if (user.has_ancestor(this()) || this() in user.command_modules())
            return;
    }
}
.purge_cache();

// $#Edited: 06 Dec 98 00:41 $user_bruce

["// Created 18-Sep-1997 as a part of ColdCore, see: @help Credit"]

the Cold Dark