summaryrefslogtreecommitdiff
path: root/modules/core/db_mysql.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2011-05-21 04:57:27 -0400
committerAdam <Adam@anope.org>2011-05-21 04:57:27 -0400
commit115f94bfc23c481eab50298895f76bd494179cd8 (patch)
treeeeda28c466e9f2f532b2dee75cb817eba9066357 /modules/core/db_mysql.cpp
parent7e5727288d9b2da5b53476b91f8cb9fe96e14d53 (diff)
Made Anope able to process normally when disconnected from the uplink and not sleep(), enable usage of non-blocking connect() and default all sockets to non blocking mode. Some cleanup to m_ssl and some cleanup to main.cpp.
Diffstat (limited to 'modules/core/db_mysql.cpp')
-rw-r--r--modules/core/db_mysql.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/core/db_mysql.cpp b/modules/core/db_mysql.cpp
index 193d467da..6a5ba8900 100644
--- a/modules/core/db_mysql.cpp
+++ b/modules/core/db_mysql.cpp
@@ -136,7 +136,7 @@ class DBMySQL : public Module
if (operserv)
this->AddCommand(operserv->Bot(), &commandsqlsync);
- if (uplink_server)
+ if (CurrentUplink)
OnServerConnect();
}