Commit 5ff3696d authored by louiz’'s avatar louiz’

Merge branch 'v8'

parents 68d86a9d ac8cd708
......@@ -3,6 +3,12 @@ Version 9.0
- SIGHUP is now caught and reloads the configuration like SIGUSR1 and 2.
Version 8.3 - 2018-06-01
========================
- The global ad-hoc configure command is now available on biboumi’s JID in
fixed_irc_server mode.
Version 8.2 - 2018-05-23
========================
......
......@@ -68,8 +68,11 @@ make check %{?_smp_mflags}
- Build latest git revision
- Build against botan2
* Wed Jun 1 2018 Le Coz Florent <louiz@louiz.org> - 8.3-1
Update to version 8.3
* Wed May 25 2018 Le Coz Florent <louiz@louiz.org> - 8.2-1
Update to version 8.1
Update to version 8.2
* Wed May 14 2018 Le Coz Florent <louiz@louiz.org> - 8.1-1
Update to version 8.1
......
......@@ -72,11 +72,16 @@ BiboumiComponent::BiboumiComponent(std::shared_ptr<Poller>& poller, const std::s
AdhocCommand configure_global_command({&ConfigureGlobalStep1, &ConfigureGlobalStep2}, "Configure a few settings", false);
if (!Config::get("fixed_irc_server", "").empty())
this->adhoc_commands_handler.add_command("configure", configure_server_command);
{
this->adhoc_commands_handler.add_command("server-configure", configure_server_command);
this->adhoc_commands_handler.add_command("global-configure", configure_global_command);
}
else
this->adhoc_commands_handler.add_command("configure", configure_global_command);
{
this->adhoc_commands_handler.add_command("configure", configure_global_command);
this->irc_server_adhoc_commands_handler.add_command("configure", configure_server_command);
}
this->irc_server_adhoc_commands_handler.add_command("configure", configure_server_command);
this->irc_channel_adhoc_commands_handler.add_command("configure", {{&ConfigureIrcChannelStep1, &ConfigureIrcChannelStep2}, "Configure a few settings for that IRC channel", false});
#endif
}
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment