From 0cae593b94c4fdfe100516c7f08f75e40bc1e089 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Mon, 8 Apr 2019 21:02:51 +0200 Subject: Move room setName to its own function, escape commands --- include/dchat/Process.hpp | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 include/dchat/Process.hpp (limited to 'include/dchat/Process.hpp') diff --git a/include/dchat/Process.hpp b/include/dchat/Process.hpp new file mode 100644 index 0000000..18aa2d9 --- /dev/null +++ b/include/dchat/Process.hpp @@ -0,0 +1,8 @@ +#pragma once + +#include + +namespace dchat +{ + std::string escapeCommand(const std::string &cmd); +} \ No newline at end of file -- cgit v1.2.3