summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-09-21 16:01:48 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-09-21 16:01:48 +0000
commit805830a135397cfa5b697f982b015ed73b8dddaa (patch)
tree4473c5225291d0d16a742eec46cd953a48d17c17 /src/modules
parentbccf48aa7562f3291a73d825f23134d0d2bf8ef3 (diff)
someone forget an instance
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10581 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/extra/m_mysql.cpp2
-rw-r--r--src/modules/m_filter.cpp2
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 &parameter)
}
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()