summaryrefslogtreecommitdiff
path: root/include/hashcomp.h
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2019-01-23 21:45:50 +0000
committerPeter Powell <petpow@saberuk.com>2019-01-24 14:28:21 +0000
commitcbef0241a04eafe5250b75ebb3f7ef8c32ecb260 (patch)
treed856c8ac6db6cf2514bc5090e6b11f759d3c0290 /include/hashcomp.h
parenta7fac86ccda9e75c6f426b07faa85081f5857d33 (diff)
Implement support for the extended tag space for client tags.
Diffstat (limited to 'include/hashcomp.h')
-rw-r--r--include/hashcomp.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/hashcomp.h b/include/hashcomp.h
index f0e092729..80c02332d 100644
--- a/include/hashcomp.h
+++ b/include/hashcomp.h
@@ -197,7 +197,10 @@ namespace irc
public:
/** Create a tokenstream and fill it with the provided data. */
- tokenstream(const std::string& msg, size_t start = 0);
+ tokenstream(const std::string& msg, size_t start = 0, size_t end = std::string::npos);
+
+ /** Retrieves the underlying message. */
+ std::string& GetMessage() { return message; }
/** Retrieve the next \<middle> token in the token stream.
* @param token The next token available, or an empty string if none remain.