diff options
| author | 2022-01-18 00:19:44 +0000 | |
|---|---|---|
| committer | 2022-01-18 02:39:31 +0000 | |
| commit | 4856a8f9672448397aa67d3893cd1d2e1224c1bf (patch) | |
| tree | 6503b9e7a25a0456a86b62f0ccdf4ef710fbbadb /src/inspstring.cpp | |
| parent | Revert "Allow setting extension data on connect classes". (diff) | |
Add constructors to the TokenList class.
Diffstat (limited to 'src/inspstring.cpp')
| -rw-r--r-- | src/inspstring.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
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; |
