summaryrefslogtreecommitdiff
path: root/src/xmpp
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2018-08-04 15:11:59 +0200
committerlouiz’ <louiz@louiz.org>2018-08-04 15:11:59 +0200
commit89e038bc3a6d1845f2ed450c71cdb3adb29e974a (patch)
tree1089142555100bec5b6866b25c82808390e2a046 /src/xmpp
parent9244624d56dec94e14a3b48ce20e7fb762232559 (diff)
downloadbiboumi-89e038bc3a6d1845f2ed450c71cdb3adb29e974a.tar.gz
biboumi-89e038bc3a6d1845f2ed450c71cdb3adb29e974a.tar.bz2
biboumi-89e038bc3a6d1845f2ed450c71cdb3adb29e974a.tar.xz
biboumi-89e038bc3a6d1845f2ed450c71cdb3adb29e974a.zip
Fix the real_type of ThrottleLimit
Diffstat (limited to 'src/xmpp')
-rw-r--r--src/xmpp/biboumi_adhoc_commands.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xmpp/biboumi_adhoc_commands.cpp b/src/xmpp/biboumi_adhoc_commands.cpp
index da37cc0..45557aa 100644
--- a/src/xmpp/biboumi_adhoc_commands.cpp
+++ b/src/xmpp/biboumi_adhoc_commands.cpp
@@ -494,7 +494,7 @@ void ConfigureIrcServerStep2(XmppComponent& xmpp_component, AdhocSession& sessio
else if (field->get_tag("var") == "throttle_limit" && value)
{
- options.col<Database::ThrottleLimit>() = std::stoull(value->get_inner());
+ options.col<Database::ThrottleLimit>() = std::stoul(value->get_inner());
Bridge* bridge = biboumi_component.find_user_bridge(session.get_owner_jid());
if (bridge)
{