From fb9f41b3e52cfddada7773a65b9723cd3a96b785 Mon Sep 17 00:00:00 2001 From: Adam Date: Sat, 30 Oct 2010 19:41:13 -0400 Subject: Made gettext work on most OSs. Tested on Debian, FreeBSD, Gentoo, and Windows. Added a search path option to the Config script for cmake to use when finding libraries for modules or for gettext. Fixed m_mysql and m_ssl to work under Windows, made the Windows Config program remember the last used options, and fixed Windows release builds. --- modules/extra/db_mysql.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/extra/db_mysql.cpp') diff --git a/modules/extra/db_mysql.cpp b/modules/extra/db_mysql.cpp index af5c4514a..f430502a4 100644 --- a/modules/extra/db_mysql.cpp +++ b/modules/extra/db_mysql.cpp @@ -1429,7 +1429,7 @@ static void SaveDatabases() for (std::vector::iterator it = nc->access.begin(), it_end = nc->access.end(); it != it_end; ++it) { - me->RunQuery("INSERT INTO `anope_ns_access` (display, access) VALUES(" + me->Escape(nc->display) + ", " + me->Escape(*it) + ")"); + me->RunQuery("INSERT INTO `anope_ns_access` (display, access) VALUES('" + me->Escape(nc->display) + "', '" + me->Escape(*it) + "')"); } for (unsigned j = 0, end = nc->memos.memos.size(); j < end; ++j) -- cgit