From 4233e1f6538351e3bf3c15c88454455998b718e5 Mon Sep 17 00:00:00 2001
From: Florent Le Coz <louiz@louiz.org>
Date: Sat, 9 Jan 2016 17:00:52 +0100
Subject: Do not fail to build when litesql is not used

fix #3151
---
 src/xmpp/biboumi_component.cpp | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'src')

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
   };
 }
 
-- 
cgit v1.2.3