Changeset - dc1228b5bd50
[Not reviewed]
0 1 0
HanzZ - 13 years ago 2012-11-13 17:31:47
hanzz.k@gmail.com
use instead of
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/mysqlbackend.cpp
Show inline comments
 
@@ -445,7 +445,7 @@ bool MySQLBackend::getUser(const std::string &barejid, UserInfo &user) {
 

	
 
	if (!CONFIG_STRING(m_config, "database.vip_statement").empty()) {
 
		std::string query = CONFIG_STRING(m_config, "database.vip_statement");
 
		boost::replace_all(query, "$jid", barejid);
 
		boost::replace_all(query, "$barejid", barejid);
 
		LOG4CXX_INFO(logger, "Executing '" << query << "' to find out if user " << barejid << " is VIP");
 
		if (exec(query)) {
 
			MYSQL_RES *result = mysql_store_result(&m_conn);
0 comments (0 inline, 0 general)