summaryrefslogtreecommitdiff
path: root/src/modules/m_testcommand.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-11 12:26:07 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-11 12:26:07 +0000
commite84bf9f3ec5a60078c32b272d3d7885c0708c544 (patch)
tree99fc8f4b4d7bede49e91f27abcdee6fb8c4fe6f4 /src/modules/m_testcommand.cpp
parentd17465716790010b6e3221f9ce49272110276ccf (diff)
Change to using Instance->Log (InspIRCd::Log) rather than log() macro
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4880 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_testcommand.cpp')
-rw-r--r--src/modules/m_testcommand.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_testcommand.cpp b/src/modules/m_testcommand.cpp
index 9c5b1ab23..61effc3de 100644
--- a/src/modules/m_testcommand.cpp
+++ b/src/modules/m_testcommand.cpp
@@ -39,12 +39,12 @@ class MyV6Resolver : public Resolver
virtual void OnLookupComplete(const std::string &result)
{
- log(DEBUG,"*** RESOLVER COMPLETED %s LOOKUP, IP IS: '%s'",fw ? "FORWARD" : "REVERSE", result.c_str());
+ ServerInstance->Log(DEBUG,"*** RESOLVER COMPLETED %s LOOKUP, IP IS: '%s'",fw ? "FORWARD" : "REVERSE", result.c_str());
}
virtual void OnError(ResolverError e, const std::string &errormessage)
{
- log(DEBUG,"*** RESOLVER GOT ERROR: %d: %s",e,errormessage.c_str());
+ ServerInstance->Log(DEBUG,"*** RESOLVER GOT ERROR: %d: %s",e,errormessage.c_str());
}
};
@@ -72,7 +72,7 @@ class cmd_woot : public command_t
}
catch (ModuleException& e)
{
- log(DEBUG,"Danger, will robinson! There was an exception: %s",e.GetReason());
+ ServerInstance->Log(DEBUG,"Danger, will robinson! There was an exception: %s",e.GetReason());
}
}
};