def init(): """ Init """ if not got: raise RequireError("PyCrypto is required for FiSH. Please install this library if you want to use this plug") if cfg.enable: inputmorphs.add(fishin) outputmorphs.add(fishout) callbacks.add("NOTICE", dh1080_exchange) cmnds.add("fish", handle_fish, "OPER") examples.add("fish", "command that handles fish enrypting over IRC", "fish help") else: logging.warn("fish plugin is not enabled - use fish-cfg enable 1")
def init(): """ init the colors plugin, add the colormorph. """ outputmorphs.add(docolormorph)