From ad3524174350633c25dc8a4e5ffbb7066c4b8cba Mon Sep 17 00:00:00 2001 From: w00t Date: Sun, 21 Sep 2008 12:56:03 +0000 Subject: Be consistent. Use ServerInstance in all places instead of 'Instance' in half. This has bugged me forever :p. I think I got all of extra/ too.. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10579 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/extra/m_sqlite3.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/modules/extra/m_sqlite3.cpp') diff --git a/src/modules/extra/m_sqlite3.cpp b/src/modules/extra/m_sqlite3.cpp index 5adb9ee93..d76bc97fe 100644 --- a/src/modules/extra/m_sqlite3.cpp +++ b/src/modules/extra/m_sqlite3.cpp @@ -50,7 +50,7 @@ class ResultNotifier : public BufferedSocket virtual bool OnDataReady() { char data = 0; - if (Instance->SE->Recv(this, &data, 1, 0) > 0) + if (ServerInstance->SE->Recv(this, &data, 1, 0) > 0) { Dispatch(); return true; @@ -266,18 +266,18 @@ class SQLConn : public classbase { private: ResultQueue results; - InspIRCd* Instance; + InspIRCd* ServerInstance; Module* mod; SQLhost host; sqlite3* conn; public: SQLConn(InspIRCd* SI, Module* m, const SQLhost& hi) - : Instance(SI), mod(m), host(hi) + : ServerInstance(SI), mod(m), host(hi) { if (OpenDB() != SQLITE_OK) { - Instance->Logs->Log("m_sqlite3",DEFAULT, "WARNING: Could not open DB with id: " + host.id); + ServerInstance->Logs->Log("m_sqlite3",DEFAULT, "WARNING: Could not open DB with id: " + host.id); CloseDB(); } } -- cgit v1.3.1-10-gc9f91