summaryrefslogtreecommitdiff
path: root/include/isupportmanager.h
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2017-11-09 10:04:58 +0000
committerPeter Powell <petpow@saberuk.com>2017-11-09 10:30:59 +0000
commit7f7ffef3b4d5dc6242918a48713d6fab96928a80 (patch)
treeab4b7a62f4d9daee8058297a1e69c17b9a1425f4 /include/isupportmanager.h
parentb76ff64daeeb1e1081cff93c611f730e5b1b051e (diff)
Implement support for draft-brocklesby-irc-isupport-03 escapes.
Diffstat (limited to 'include/isupportmanager.h')
-rw-r--r--include/isupportmanager.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/isupportmanager.h b/include/isupportmanager.h
index 3a0df78f9..e5eeb599e 100644
--- a/include/isupportmanager.h
+++ b/include/isupportmanager.h
@@ -26,6 +26,12 @@ class CoreExport ISupportManager
/** The generated lines which are sent to clients. */
std::vector<Numeric::Numeric> cachedlines;
+ /** Escapes an ISUPPORT token value and appends it to the buffer.
+ * @param buffer The buffer to append to.
+ * @param value An ISUPPORT token value.
+ */
+ void AppendValue(std::string& buffer, const std::string& value);
+
public:
/** (Re)build the ISUPPORT vector.
* Called by the core on boot after all modules have been loaded, and every time when a module is loaded