X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fmembership.h;h=8630bb6730692886bd24bd657536e48aa35e0762;hb=1dca8b79edf65c0e5e846cc120f1321fb0a1d15c;hp=c952d09ae88f5859a7e8f3d6655383354ab19d0c;hpb=a3e0768758ca68429a29d9c78ce672f2d938c6e7;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/membership.h b/include/membership.h index c952d09ae..8630bb673 100644 --- a/include/membership.h +++ b/include/membership.h @@ -20,7 +20,7 @@ #pragma once -uint64_t ConvToUInt64(const std::string& in); +#include "convto.h" /** * Represents a member of a channel. @@ -60,7 +60,7 @@ class CoreExport Membership : public Extensible, public insp::intrusive_list_nod */ static Id IdFromString(const std::string& str) { - return ConvToUInt64(str); + return ConvToNum(str); } /** Constructor, sets the user and chan fields to the parameters, does NOT update any bookkeeping