X-Git-Url: https://git.ctpug.org.za/?p=bzrirker.git;a=blobdiff_plain;f=__init__.py;fp=__init__.py;h=6c3f2687ec9fb13d93f8ad2f08ed8905a2a592bf;hp=bae47ea3e9e7b898d458a7ff20b761de3df4631b;hb=3ad4340dea8ee06a11c02d89c5847c516cfc5862;hpb=fbf251de0ad945d3b25bcd991af64f6836d3ece1 diff --git a/__init__.py b/__init__.py index bae47ea..6c3f268 100644 --- a/__init__.py +++ b/__init__.py @@ -12,6 +12,8 @@ Useful configuration settings: irker_channels - The irc channels to post announcements to irker_colours - Settings for using colours in the announcements (ANSI or mIRC) + irker_server - Host for the irkerd server (localhost by default) + irker_port - port to connect to (6659 by default) """ from bzrlib.config import option_registry @@ -58,6 +60,10 @@ option_registry.register_lazy("irker_colours", "bzrlib.plugins.bzrirker.irkerhook", "opt_irker_colours") option_registry.register_lazy("irker_project", "bzrlib.plugins.bzrirker.irkerhook", "opt_irker_project") +option_registry.register_lazy("irker_server", + "bzrlib.plugins.bzrirker.irkerhook", "opt_irker_server") +option_registry.register_lazy("irker_port", + "bzrlib.plugins.bzrirker.irkerhook", "opt_irker_port") from bzrlib.hooks import install_lazy_named_hook # This causes double commit messages - investigate what we need further