From 1a21e5e5855d40eb991d86df98b3451dcd865941 Mon Sep 17 00:00:00 2001 From: peavey Date: Sat, 30 Dec 2006 19:31:46 +0000 Subject: Remove a line of debug that could crash Log. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6180 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/extra/m_pgsql.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') diff --git a/src/modules/extra/m_pgsql.cpp b/src/modules/extra/m_pgsql.cpp index 0f6ef2c85..21c57bce1 100644 --- a/src/modules/extra/m_pgsql.cpp +++ b/src/modules/extra/m_pgsql.cpp @@ -1021,7 +1021,6 @@ SQLerror SQLConn::DoQuery(SQLrequest &req) } } - Instance->Log(DEBUG, "Can't query until connection is complete"); return SQLerror(BAD_CONN, "Can't query until connection is complete"); } @@ -1309,6 +1308,6 @@ class ModulePgSQLFactory : public ModuleFactory extern "C" void * init_module( void ) { - PQregisterThreadLock(pgthreadlock_t(1)); +// PQregisterThreadLock(pgthreadlock_t(1)); return new ModulePgSQLFactory; } -- cgit v1.2.3