Ejemplo n.º 1
0
def unload():
  """ Unloads the module by calling any unload/unbind functions."""
  global hm
  modutils.unload_commands(commands_dict.keys())
  exported.remove_manager("highlight")

  exported.hook_unregister("mud_filter_hook", hm.mudfilter)
  exported.hook_unregister("write_hook", hm.persist)
Ejemplo n.º 2
0
def unload():
  """ Unloads the module by calling any unload/unbind functions."""
  global am
  modutils.unload_commands(commands_dict.keys())
  exported.remove_manager("alias")

  exported.hook_register("user_filter_hook", am.userfilter)
  exported.hook_register("write_hook", am.persist)
Ejemplo n.º 3
0
def unload():
  """ Unloads the module by calling any unload/unbind functions."""
  global am
  modutils.unload_commands(list(commands_dict.keys()))
  exported.remove_manager("alias")

  exported.hook_register("user_filter_hook", am.userfilter)
  exported.hook_register("write_hook", am.persist)
Ejemplo n.º 4
0
def unload():
  """ Unloads the module by calling any unload/unbind functions."""
  modutils.unload_commands(list(commands_dict.keys()))
  mapper.unload()
  exported.remove_manager("sowmud")

  exported.hook_unregister("mud_filter_hook", smm.mudfilter)
  exported.hook_unregister("user_filter_hook", smm.userfilter)
  exported.hook_unregister("disconnect_hook", smm.reconnect)
Ejemplo n.º 5
0
def unload():
  """ Unloads the module by calling any unload/unbind functions."""
  global lm
  modutils.unload_commands(commands_dict.keys())
  exported.remove_manager("logger")

  exported.hook_unregister("to_mud_hook", lm.tomudfilter)
  exported.hook_unregister("mud_filter_hook", lm.mudfilter)
  exported.hook_unregister("prompt_hook", lm.promptfilter)
Ejemplo n.º 6
0
def unload():
  """ Unloads the module by calling any unload/unbind functions."""
  global vm
  modutils.unload_commands(list(commands_dict.keys()))
  exported.remove_manager("variable")

  exported.hook_unregister("user_filter_hook", vm.userfilter)
  exported.hook_unregister("user_filter_hook", vm.denestVars)
  exported.hook_unregister("default_resolver_hook", vm.defaultResolver)
  exported.hook_unregister("write_hook", vm.persist)
Ejemplo n.º 7
0
def unload():
    """ Unloads the module by calling any unload/unbind functions."""
    global vm
    modutils.unload_commands(commands_dict.keys())
    exported.remove_manager("variable")

    exported.hook_unregister("user_filter_hook", vm.userfilter)
    exported.hook_unregister("user_filter_hook", vm.denestVars)
    exported.hook_unregister("default_resolver_hook", vm.defaultResolver)
    exported.hook_unregister("write_hook", vm.persist)
Ejemplo n.º 8
0
def unload():
  """ Unloads the module by calling any unload/unbind functions."""
  global sm
  modutils.unload_commands(commands_dict.keys())
  exported.remove_manager("speedwalk")

  exported.hook_unregister("user_filter_hook", sm.userfilter)
  exported.hook_unregister("write_hook", sm.persist)

  # remove configuration items for every session involved
  for mem in exported.get_active_sessions():
    exported.remove_config("speedwalk", mem)
Ejemplo n.º 9
0
def unload():
    """ Unloads the module by calling any unload/unbind functions."""
    global sm
    modutils.unload_commands(commands_dict.keys())
    exported.remove_manager("substitute")

    exported.hook_unregister("mud_filter_hook", sm.mudfilter)
    exported.hook_unregister("write_hook", sm.persist)

    # remove configuration items for every session involved
    for mem in exported.get_active_sessions():
        exported.remove_config("ignoresubs", mem)
Ejemplo n.º 10
0
def unload():
    """ Unloads the module by calling any unload/unbind functions."""
    global am, var_module
    modutils.unload_commands(commands_dict.keys())
    exported.remove_manager("alias")

    exported.hook_unregister("mud_filter_hook", am.mudfilter)
    exported.hook_unregister("write_hook", am.persist)
    exported.hook_unregister("variable_change_hook", am.variableChange)

    # remove configuration items for every session involved
    for mem in exported.get_active_sessions():
        exported.remove_config("ignoreactions", mem)
Ejemplo n.º 11
0
def unload():
  """ Unloads the module by calling any unload/unbind functions."""
  global am, var_module
  modutils.unload_commands(commands_dict.keys())
  exported.remove_manager("alias")

  exported.hook_unregister("mud_filter_hook", am.mudfilter)
  exported.hook_unregister("write_hook", am.persist)
  exported.hook_unregister("variable_change_hook", am.variableChange)

  # remove configuration items for every session involved
  for mem in exported.get_active_sessions():
    exported.remove_config("ignoreactions", mem)
Ejemplo n.º 12
0
def unload():
    modutils.unload_commands(commands_dict.keys())
    exported.remove_help("root.commands.ifvar")
Ejemplo n.º 13
0
def unload():
    modutils.unload_commands(commands_dict)
    exported.unhook_register('mud_filter_hook',mud_filter)
Ejemplo n.º 14
0
def unload():
  """ Unloads the module by calling any unload/unbind functions."""
  modutils.unload_commands(commands_dict.keys())
Ejemplo n.º 15
0
def unload():
    """ Unloads the module by calling any unload/unbind functions."""
    modutils.unload_commands(commands_dict.keys())
Ejemplo n.º 16
0
def unload():
    modutils.unload_commands(command_dict)
Ejemplo n.º 17
0
def unload():
    modutils.unload_commands(commands_dir)
Ejemplo n.º 18
0
def unload():
    """ Unbinds the commands (for when we reimport the module)."""
    modutils.unload_commands(commands_dict)
Ejemplo n.º 19
0
def unload():
    """ Unbinds the commands (for when we reimport the module)."""
    modutils.unload_commands(commands_dict)
Ejemplo n.º 20
0
def unload():
    """ Unloads the module by calling any unload/unbind functions."""
    exported.hook_unregister("mud_filter_hook", mudfilter)
    modutils.unload_commands(commands_dict)
Ejemplo n.º 21
0
def unload():
    global myscheduler

    myscheduler.shutdown()
    myscheduler = None
    modutils.unload_commands(commands_dict)
Ejemplo n.º 22
0
def unload():
    exported.hook_unregister("timer_hook", timerget)
    exported.hook_unregister("mud_filter_hook", look_fortarget)
    modutils.unload_commands(command_dic)
Ejemplo n.º 23
0
def unload():
	exported.hook_unregister("from_mud_hook", handle_from_mud)
	modutils.unload_commands(commands_dict.keys())
	exported.remove_help("root.commands.commo")
Ejemplo n.º 24
0
def unload():
  """ Unloads the module by calling any unload/unbind functions."""
  global dm
  modutils.unload_commands(commands_dict.keys())
  exported.remove_manager("deed")
Ejemplo n.º 25
0
def unload():
  global myscheduler

  myscheduler.shutdown()
  myscheduler = None
  modutils.unload_commands(commands_dict)
Ejemplo n.º 26
0
def unload():
    """ Unloads the module by calling any unload/unbind functions."""
    global dm
    modutils.unload_commands(commands_dict.keys())
    exported.remove_manager("deed")
Ejemplo n.º 27
0
def unload():
	modutils.unload_commands(commands_dict.keys())
	exported.remove_help("root.commands.ifvar")