summaryrefslogtreecommitdiff
path: root/include/anope.h
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2021-05-25 22:06:50 +0100
committerSadie Powell <sadie@witchery.services>2024-03-07 18:50:36 +0000
commit12214bee7228f884918dacff56108604e10bdc46 (patch)
treefa977d680247d58a01f0664989c429be928eb55c /include/anope.h
parent08a35231ef00ee9dd3af80c186a78b740cd8185a (diff)
Add the initial version of the Atheme database importer.
Diffstat (limited to 'include/anope.h')
-rw-r--r--include/anope.h3
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