summaryrefslogtreecommitdiff
path: root/include/anope.h
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2024-02-21 16:35:27 +0000
committerSadie Powell <sadie@witchery.services>2024-02-22 00:14:08 +0000
commitc4ab550ec719a80abada719dbe8680be806c370f (patch)
tree371e5b11134303336719c9a18affdfeab3afcb25 /include/anope.h
parent3ecf6b495b02bdabe317547fe4bcf2179e3fb6d7 (diff)
Add Uplink::Send, rework message formatting.
This is the new way of sending messages to the uplink inspired by the work done in the old git master. This will allow us to do new things involving tags in the future.
Diffstat (limited to 'include/anope.h')
-rw-r--r--include/anope.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/anope.h b/include/anope.h
index 7ffc90729..0f181c87f 100644
--- a/include/anope.h
+++ b/include/anope.h
@@ -728,6 +728,11 @@ public:
/** Convert something to a string
*/
+inline Anope::string stringify(const Anope::string &x)
+{
+ return x;
+}
+
template<typename T> inline Anope::string stringify(const T &x)
{
std::ostringstream stream;