summaryrefslogtreecommitdiff
path: root/src/database
diff options
context:
space:
mode:
Diffstat (limited to 'src/database')
-rw-r--r--src/database/database.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/database/database.hpp b/src/database/database.hpp
index 5fabadd..4a413be 100644
--- a/src/database/database.hpp
+++ b/src/database/database.hpp
@@ -86,8 +86,8 @@ class Database
struct Address: Column<std::string> { static constexpr auto name = "address_"; };
- struct ThrottleLimit: Column<unsigned long int> { static constexpr auto name = "throttlelimit_";
- ThrottleLimit(): Column<unsigned long int>(10) {} };
+ struct ThrottleLimit: Column<long int> { static constexpr auto name = "throttlelimit_";
+ ThrottleLimit(): Column<long int>(10) {} };
using MucLogLineTable = Table<Id, Uuid, Owner, IrcChanName, IrcServerName, Date, Body, Nick>;
using MucLogLine = MucLogLineTable::RowType;