summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2016-06-23 22:18:42 +0200
committerlouiz’ <louiz@louiz.org>2016-06-23 22:18:42 +0200
commit6bd9b1ec1429024a49cf8b6d7be29f90f35110fa (patch)
treef631ab886c2a127fda9d81f3bd70d6e462b51be8 /src
parent11dcae704a8dc84643408ded9397294eec191de1 (diff)
downloadbiboumi-6bd9b1ec1429024a49cf8b6d7be29f90f35110fa.tar.gz
biboumi-6bd9b1ec1429024a49cf8b6d7be29f90f35110fa.tar.bz2
biboumi-6bd9b1ec1429024a49cf8b6d7be29f90f35110fa.tar.xz
biboumi-6bd9b1ec1429024a49cf8b6d7be29f90f35110fa.zip
Remove unused function
Diffstat (limited to 'src')
-rw-r--r--src/bridge/bridge.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/bridge/bridge.cpp b/src/bridge/bridge.cpp
index 87667db..4976ed2 100644
--- a/src/bridge/bridge.cpp
+++ b/src/bridge/bridge.cpp
@@ -16,17 +16,6 @@ using namespace std::string_literals;
static const char* action_prefix = "\01ACTION ";
-static std::string out_encoding_for(const Bridge& bridge, const Iid& iid)
-{
-#ifdef USE_DATABASE
- const auto jid = bridge.get_bare_jid();
- auto options = Database::get_irc_channel_options_with_server_default(jid, iid.get_server(), iid.get_local());
- return options.encodingOut.value();
-#else
- return {"ISO-8859-1"};
-#endif
-}
-
static std::string in_encoding_for(const Bridge& bridge, const Iid& iid)
{
#ifdef USE_DATABASE