From 4856a8f9672448397aa67d3893cd1d2e1224c1bf Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Tue, 18 Jan 2022 00:19:44 +0000 Subject: Add constructors to the TokenList class. --- src/inspstring.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/inspstring.cpp') diff --git a/src/inspstring.cpp b/src/inspstring.cpp index c2e1f4a4d..e0d0ed296 100644 --- a/src/inspstring.cpp +++ b/src/inspstring.cpp @@ -201,6 +201,11 @@ bool InspIRCd::TimingSafeCompare(const std::string& one, const std::string& two) return (diff == 0); } +TokenList::TokenList(const std::string& tokenlist) +{ + AddList(tokenlist); +} + void TokenList::AddList(const std::string& tokenlist) { std::string token; -- cgit v1.3.1-10-gc9f91