diff options
author | louiz’ <louiz@louiz.org> | 2018-08-04 15:11:59 +0200 |
---|---|---|
committer | louiz’ <louiz@louiz.org> | 2018-08-04 15:11:59 +0200 |
commit | 89e038bc3a6d1845f2ed450c71cdb3adb29e974a (patch) | |
tree | 1089142555100bec5b6866b25c82808390e2a046 /src/database | |
parent | 9244624d56dec94e14a3b48ce20e7fb762232559 (diff) | |
download | biboumi-89e038bc3a6d1845f2ed450c71cdb3adb29e974a.tar.gz biboumi-89e038bc3a6d1845f2ed450c71cdb3adb29e974a.tar.bz2 biboumi-89e038bc3a6d1845f2ed450c71cdb3adb29e974a.tar.xz biboumi-89e038bc3a6d1845f2ed450c71cdb3adb29e974a.zip |
Fix the real_type of ThrottleLimit
Diffstat (limited to 'src/database')
-rw-r--r-- | src/database/database.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/database/database.hpp b/src/database/database.hpp index 5f637bd..f6b9d52 100644 --- a/src/database/database.hpp +++ b/src/database/database.hpp @@ -86,7 +86,7 @@ class Database struct Address: Column<std::string> { static constexpr auto name = "address_"; }; - struct ThrottleLimit: Column<std::size_t> { static constexpr auto name = "throttlelimit_"; + struct ThrottleLimit: Column<unsigned long int> { static constexpr auto name = "throttlelimit_"; ThrottleLimit(): Column<std::size_t>(10) {} }; using MucLogLineTable = Table<Id, Uuid, Owner, IrcChanName, IrcServerName, Date, Body, Nick>; |