예제 #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)
예제 #2
0
파일: alias.py 프로젝트: v-legoff/accertin
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)
예제 #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)
예제 #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)
예제 #5
0
파일: logger.py 프로젝트: v-legoff/accertin
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)
예제 #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)
예제 #7
0
파일: variable.py 프로젝트: OSadovy/lyntin
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)
예제 #8
0
파일: speedwalk.py 프로젝트: OSadovy/lyntin
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)
예제 #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)
예제 #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)
예제 #11
0
파일: action.py 프로젝트: avidal/lyntin
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)
예제 #12
0
def unload():
    modutils.unload_commands(commands_dict.keys())
    exported.remove_help("root.commands.ifvar")
예제 #13
0
def unload():
    modutils.unload_commands(commands_dict)
    exported.unhook_register('mud_filter_hook',mud_filter)
예제 #14
0
def unload():
  """ Unloads the module by calling any unload/unbind functions."""
  modutils.unload_commands(commands_dict.keys())
예제 #15
0
def unload():
    """ Unloads the module by calling any unload/unbind functions."""
    modutils.unload_commands(commands_dict.keys())
예제 #16
0
def unload():
    modutils.unload_commands(command_dict)
예제 #17
0
def unload():
    modutils.unload_commands(commands_dir)
예제 #18
0
def unload():
    """ Unbinds the commands (for when we reimport the module)."""
    modutils.unload_commands(commands_dict)
예제 #19
0
파일: sound.py 프로젝트: v-legoff/accertin
def unload():
    """ Unbinds the commands (for when we reimport the module)."""
    modutils.unload_commands(commands_dict)
예제 #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)
예제 #21
0
def unload():
    global myscheduler

    myscheduler.shutdown()
    myscheduler = None
    modutils.unload_commands(commands_dict)
예제 #22
0
def unload():
    exported.hook_unregister("timer_hook", timerget)
    exported.hook_unregister("mud_filter_hook", look_fortarget)
    modutils.unload_commands(command_dic)
예제 #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")
예제 #24
0
파일: deed.py 프로젝트: OSadovy/lyntin
def unload():
  """ Unloads the module by calling any unload/unbind functions."""
  global dm
  modutils.unload_commands(commands_dict.keys())
  exported.remove_manager("deed")
예제 #25
0
def unload():
  global myscheduler

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