summaryrefslogtreecommitdiff
path: root/src/hashcomp.cpp
diff options
context:
space:
mode:
authorspecial <special@e03df62e-2008-0410-955e-edbf42e46eb7>2007-02-22 11:50:19 +0000
committerspecial <special@e03df62e-2008-0410-955e-edbf42e46eb7>2007-02-22 11:50:19 +0000
commit37976713821bf13dfe67c7b5d0d43c59affd12c7 (patch)
tree63779f8cc2c6306c78bb7ccc2959418c3a6eb527 /src/hashcomp.cpp
parentfe5a4ffb9d6febca8d645124852fc599a6cd1552 (diff)
Added sepstream::GetRemaining()
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6608 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/hashcomp.cpp')
-rw-r--r--src/hashcomp.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/hashcomp.cpp b/src/hashcomp.cpp
index f8d131675..060d78fe2 100644
--- a/src/hashcomp.cpp
+++ b/src/hashcomp.cpp
@@ -261,6 +261,11 @@ const std::string irc::sepstream::GetToken()
return "";
}
+const std::string irc::sepstream::GetRemaining()
+{
+ return std::string(n, tokens.end());
+}
+
bool irc::sepstream::StreamEnd()
{
return ((n + 1) == tokens.end());