summaryrefslogtreecommitdiff
path: root/src/modules/extra
diff options
context:
space:
mode:
authorpeavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7>2006-12-30 19:31:46 +0000
committerpeavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7>2006-12-30 19:31:46 +0000
commit1a21e5e5855d40eb991d86df98b3451dcd865941 (patch)
treef8cf354b3e383824dd6ca596691a43be3d7ee1c7 /src/modules/extra
parentd3e3a13ae6590fcbd8be09e168a2b002f2967368 (diff)
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
Diffstat (limited to 'src/modules/extra')
-rw-r--r--src/modules/extra/m_pgsql.cpp3
1 files changed, 1 insertions, 2 deletions
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;
}