diff options
Diffstat (limited to 'src/modules/extra/m_pgsql.cpp')
-rw-r--r-- | src/modules/extra/m_pgsql.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/extra/m_pgsql.cpp b/src/modules/extra/m_pgsql.cpp index ed068fdf1..103c9edfc 100644 --- a/src/modules/extra/m_pgsql.cpp +++ b/src/modules/extra/m_pgsql.cpp @@ -523,7 +523,7 @@ public: sqlsuccess = new char[strlen(SQLSUCCESS)+1]; - strcpy(sqlsuccess, SQLSUCCESS); + strlcpy(sqlsuccess, SQLSUCCESS, strlen(SQLSUCCESS)+1); OnRehash(""); } |