levelsranks / pawn-levels_ranks-core

Statistics plugin for servers on the Source Engine
GNU General Public License v3.0
72 stars 38 forks source link

Fixes Database.Escape() function doing weird things #35

Closed Nobody-x closed 4 years ago

Nobody-x commented 4 years ago

This PR fixes weird result of Database.Escape() function on players names which contains quotes.

Explanation: Using the same buffer as source and destination into Database.Escape() function will output an unexpected result. So I used two variables instead of reusing the same.

For more information you can see this post : https://forums.alliedmods.net/showthread.php?t=324069