From 5b921c9a983b3f2588c0e151c28b26e45cf95f87 Mon Sep 17 00:00:00 2001 From: ilotterytea Date: Mon, 13 May 2024 22:49:34 +0500 Subject: feat: check if the message has sql injection --- src/utils/string.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/utils/string.hpp') diff --git a/src/utils/string.hpp b/src/utils/string.hpp index 5c9a088..c8385ad 100644 --- a/src/utils/string.hpp +++ b/src/utils/string.hpp @@ -25,6 +25,8 @@ namespace bot { } return ss.str(); } + + bool string_contains_sql_injection(const std::string &input); } } } -- cgit v1.2.3