summaryrefslogtreecommitdiff
path: root/src/xmpp
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2016-01-09 17:00:52 +0100
committerFlorent Le Coz <louiz@louiz.org>2016-01-09 17:01:22 +0100
commit4233e1f6538351e3bf3c15c88454455998b718e5 (patch)
treedc07fede3b146dc6b05df4a531b092253a1c120f /src/xmpp
parent8ca818f8abab5fba668dfd54268de72cdfa3d95d (diff)
downloadbiboumi-4233e1f6538351e3bf3c15c88454455998b718e5.tar.gz
biboumi-4233e1f6538351e3bf3c15c88454455998b718e5.tar.bz2
biboumi-4233e1f6538351e3bf3c15c88454455998b718e5.tar.xz
biboumi-4233e1f6538351e3bf3c15c88454455998b718e5.zip
Do not fail to build when litesql is not used
fix #3151
Diffstat (limited to 'src/xmpp')
-rw-r--r--src/xmpp/biboumi_component.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/xmpp/biboumi_component.cpp b/src/xmpp/biboumi_component.cpp
index e30bdd3..564c79a 100644
--- a/src/xmpp/biboumi_component.cpp
+++ b/src/xmpp/biboumi_component.cpp
@@ -67,7 +67,9 @@ BiboumiComponent::BiboumiComponent(std::shared_ptr<Poller> poller, const std::st
#endif
};
this->irc_channel_adhoc_commands_handler.get_commands() = {
+#ifdef USE_DATABASE
{"configure", AdhocCommand({&ConfigureIrcChannelStep1, &ConfigureIrcChannelStep2}, "Configure a few settings for that IRC channel", false)},
+#endif
};
}