Beispiel #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)
Beispiel #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)
Beispiel #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)
Beispiel #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)
Beispiel #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)
Beispiel #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)
Beispiel #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)
Beispiel #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)
Beispiel #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)
Beispiel #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)
Beispiel #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)
Beispiel #12
0
def unload():
    modutils.unload_commands(commands_dict.keys())
    exported.remove_help("root.commands.ifvar")
Beispiel #13
0
def unload():
    modutils.unload_commands(commands_dict)
    exported.unhook_register('mud_filter_hook',mud_filter)
Beispiel #14
0
def unload():
  """ Unloads the module by calling any unload/unbind functions."""
  modutils.unload_commands(commands_dict.keys())
Beispiel #15
0
def unload():
    """ Unloads the module by calling any unload/unbind functions."""
    modutils.unload_commands(commands_dict.keys())
Beispiel #16
0
def unload():
    modutils.unload_commands(command_dict)
Beispiel #17
0
def unload():
    modutils.unload_commands(commands_dir)
Beispiel #18
0
def unload():
    """ Unbinds the commands (for when we reimport the module)."""
    modutils.unload_commands(commands_dict)
Beispiel #19
0
def unload():
    """ Unbinds the commands (for when we reimport the module)."""
    modutils.unload_commands(commands_dict)
Beispiel #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)
Beispiel #21
0
def unload():
    global myscheduler

    myscheduler.shutdown()
    myscheduler = None
    modutils.unload_commands(commands_dict)
Beispiel #22
0
def unload():
    exported.hook_unregister("timer_hook", timerget)
    exported.hook_unregister("mud_filter_hook", look_fortarget)
    modutils.unload_commands(command_dic)
Beispiel #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")
Beispiel #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")
Beispiel #25
0
def unload():
  global myscheduler

  myscheduler.shutdown()
  myscheduler = None
  modutils.unload_commands(commands_dict)
Beispiel #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")
Beispiel #27
0
def unload():
	modutils.unload_commands(commands_dict.keys())
	exported.remove_help("root.commands.ifvar")