diff options
-rw-r--r-- | src/modules/extra/m_mysql.cpp | 2 | ||||
-rw-r--r-- | src/modules/m_filter.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/extra/m_mysql.cpp b/src/modules/extra/m_mysql.cpp index ebebaf558..0d579a382 100644 --- a/src/modules/extra/m_mysql.cpp +++ b/src/modules/extra/m_mysql.cpp @@ -679,7 +679,7 @@ class Notifier : public BufferedSocket * back into an iterator. */ - if (Instance->SE->Recv(this, &data, 1, 0) > 0) + if (ServerInstance->SE->Recv(this, &data, 1, 0) > 0) { Parent->ConnMutex->Lock(); ConnMap::iterator iter = GetCharId(data); diff --git a/src/modules/m_filter.cpp b/src/modules/m_filter.cpp index ab7005c6b..034b2f21d 100644 --- a/src/modules/m_filter.cpp +++ b/src/modules/m_filter.cpp @@ -420,6 +420,7 @@ void FilterBase::OnRehash(User* user, const std::string ¶meter) } rxengine = NULL; + printf("In Rehash\n"); RegexEngine = newrxengine; modulelist* ml = ServerInstance->Modules->FindInterface("RegularExpression"); if (ml) @@ -547,7 +548,6 @@ class ModuleFilter : public FilterBase : FilterBase(Me, "m_filter.so") { OnRehash(NULL,""); - } virtual ~ModuleFilter() |