From 2ee2e8b60d707d7a1bb644a16060654cb86c7b9f Mon Sep 17 00:00:00 2001 From: linuxdaemon Date: Fri, 1 Feb 2019 03:47:20 -0600 Subject: Allow multiple fingerprints in an oper block (#1564) --- include/hashcomp.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include/hashcomp.h') 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 -- cgit v1.3.1-10-gc9f91