From 70145dfd74b31bcecd2533760cce50fcde0e1a79 Mon Sep 17 00:00:00 2001 From: Mattia Date: Sun, 8 Jul 2018 17:06:06 +0200 Subject: [PATCH] Make SQL_QuoteString deprecated (#792) * Make SQL_QuoteString deprecated * Fix message --- plugins/include/dbi.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/include/dbi.inc b/plugins/include/dbi.inc index 55bc6953c..dcb7212f0 100644 --- a/plugins/include/dbi.inc +++ b/plugins/include/dbi.inc @@ -663,9 +663,9 @@ native bool SQL_EscapeString(Handle database, native int SQL_FormatQuery(Handle database, const char[] buffer, int maxlength, const char[] format, any ...); /** - * This is a backwards compatibility stock. You should use SQL_EscapeString() - * instead, as this function will probably be deprecated in SourceMod 1.1. + * This function is deprecated. Use SQL_EscapeString instead. */ +#pragma deprecated Use SQL_EscapeString instead. stock bool SQL_QuoteString(Handle database, const char[] string, char[] buffer,