From 89e038bc3a6d1845f2ed450c71cdb3adb29e974a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?louiz=E2=80=99?= Date: Sat, 4 Aug 2018 15:11:59 +0200 Subject: Fix the real_type of ThrottleLimit --- src/xmpp/biboumi_adhoc_commands.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/xmpp/biboumi_adhoc_commands.cpp') 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() = std::stoull(value->get_inner()); + options.col() = std::stoul(value->get_inner()); Bridge* bridge = biboumi_component.find_user_bridge(session.get_owner_jid()); if (bridge) { -- cgit v1.2.3