Method code for $command_cache.add_command_module()

[Turn off line numbering]
  1: arg module;
  2: 
  3: (> .perms(sender()) <);
  4: if (!('general_cache in module.flags()))
  5:     throw(~notcache, module + " is not marked as a general_cache");
  6: modules = setadd(modules || [], module);
  7: module.cache_server_init();

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

Tlon