summaryrefslogtreecommitdiff
path: root/include/hashcomp.h
diff options
context:
space:
mode:
authorlinuxdaemon <linuxdaemon@users.noreply.github.com>2019-02-01 03:47:20 -0600
committerPeter Powell <petpow@saberuk.com>2019-02-01 09:47:20 +0000
commit2ee2e8b60d707d7a1bb644a16060654cb86c7b9f (patch)
tree26fcbf7b673056bfe20e482170dd08e6a2185d6d /include/hashcomp.h
parente844a2cef9aeadbeea26531f98e5fe8b0b2f4dd1 (diff)
Allow multiple fingerprints in an oper block (#1564)
Diffstat (limited to 'include/hashcomp.h')
-rw-r--r--include/hashcomp.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/hashcomp.h b/include/hashcomp.h
index 80c02332d..453e28c45 100644
--- a/include/hashcomp.h
+++ b/include/hashcomp.h
@@ -148,6 +148,12 @@ namespace irc
* @return True if the end of the stream has been reached, otherwise false
*/
bool StreamEnd();
+
+ /** Returns true if the specified value exists in the stream
+ * @param value The value to search for
+ * @return True if the value was found, False otherwise
+ */
+ bool Contains(const std::string& value);
};
/** A derived form of sepstream, which seperates on commas