Do not fail to build when litesql is not used

fix #3151
This commit is contained in:
Florent Le Coz
2016-01-09 17:01:22 +01:00
parent 8ca818f8ab
commit 4233e1f653
+2
View File
@@ -67,7 +67,9 @@ BiboumiComponent::BiboumiComponent(std::shared_ptr<Poller> poller, const std::st
#endif #endif
}; };
this->irc_channel_adhoc_commands_handler.get_commands() = { this->irc_channel_adhoc_commands_handler.get_commands() = {
#ifdef USE_DATABASE
{"configure", AdhocCommand({&ConfigureIrcChannelStep1, &ConfigureIrcChannelStep2}, "Configure a few settings for that IRC channel", false)}, {"configure", AdhocCommand({&ConfigureIrcChannelStep1, &ConfigureIrcChannelStep2}, "Configure a few settings for that IRC channel", false)},
#endif
}; };
} }