diff options
author | linuxdaemon <linuxdaemon@users.noreply.github.com> | 2019-02-01 03:47:20 -0600 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2019-02-01 09:47:20 +0000 |
commit | 2ee2e8b60d707d7a1bb644a16060654cb86c7b9f (patch) | |
tree | 26fcbf7b673056bfe20e482170dd08e6a2185d6d /include/hashcomp.h | |
parent | e844a2cef9aeadbeea26531f98e5fe8b0b2f4dd1 (diff) |
Allow multiple fingerprints in an oper block (#1564)
Diffstat (limited to 'include/hashcomp.h')
-rw-r--r-- | include/hashcomp.h | 6 |
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 |