diff options
Diffstat (limited to 'include/anope.h')
-rw-r--r-- | include/anope.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/anope.h b/include/anope.h index 1a01db189..bafd862e7 100644 --- a/include/anope.h +++ b/include/anope.h @@ -590,6 +590,9 @@ public: */ sepstream(const Anope::string &source, char separator, bool allowempty = false); + /** Retrieves the underlying string. */ + const auto &GetString() const { return tokens; } + /** Fetch the next token from the stream * @param token The next token from the stream is placed here * @return True if tokens still remain, false if there are none left |