diff options
author | louiz’ <louiz@louiz.org> | 2018-08-23 20:30:11 +0200 |
---|---|---|
committer | louiz’ <louiz@louiz.org> | 2018-08-23 20:30:11 +0200 |
commit | 0b51e3828116f6847865fae93893eb97a10d1cc2 (patch) | |
tree | 39abd4550930b6c5d0fc99fa75ddab0724970371 /src/database/database.cpp | |
parent | 4a583c7b7ea6046202a4cb7c0437241c8f597356 (diff) | |
download | biboumi-0b51e3828116f6847865fae93893eb97a10d1cc2.tar.gz biboumi-0b51e3828116f6847865fae93893eb97a10d1cc2.tar.bz2 biboumi-0b51e3828116f6847865fae93893eb97a10d1cc2.tar.xz biboumi-0b51e3828116f6847865fae93893eb97a10d1cc2.zip |
MaxHistoryLength now has some sensible default value if the user set a negative one
Diffstat (limited to 'src/database/database.cpp')
-rw-r--r-- | src/database/database.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/database/database.cpp b/src/database/database.cpp index 3578c04..9037ce1 100644 --- a/src/database/database.cpp +++ b/src/database/database.cpp @@ -162,10 +162,6 @@ Database::IrcChannelOptions Database::get_irc_channel_options_with_server_and_gl coptions.col<EncodingOut>() = get_first_non_empty(coptions.col<EncodingOut>(), soptions.col<EncodingOut>()); - coptions.col<MaxHistoryLength>() = get_first_non_empty(coptions.col<MaxHistoryLength>(), - soptions.col<MaxHistoryLength>(), - goptions.col<MaxHistoryLength>()); - return coptions; } |