summaryrefslogtreecommitdiff
path: root/src/modules/m_ident.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_ident.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_ident.cpp')
-rw-r--r--src/modules/m_ident.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_ident.cpp b/src/modules/m_ident.cpp
index d88778242..4ee49d4ec 100644
--- a/src/modules/m_ident.cpp
+++ b/src/modules/m_ident.cpp
@@ -89,7 +89,7 @@ class RFC1413 : public InspSocket
if (this->Instance->IsIdent(section))
{
strlcpy(u->ident,section,IDENTMAX);
- ilog(Instance,DEBUG,"IDENT SET: "+std::string(u->ident));
+ Instance->Log(DEBUG,"IDENT SET: "+std::string(u->ident));
u->WriteServ("NOTICE "+std::string(u->nick)+" :*** Found your ident: "+std::string(u->ident));
}
}
@@ -147,7 +147,7 @@ class RFC1413 : public InspSocket
themlen = sizeof(sock_them);
if ((getsockname(this->u->fd,(sockaddr*)&sock_us,&uslen) || getpeername(this->u->fd, (sockaddr*)&sock_them, &themlen)))
{
- ilog(Instance,DEBUG,"Ident: failed to get socket names, bailing");
+ Instance->Log(DEBUG,"Ident: failed to get socket names, bailing");
return false;
}
else
@@ -159,7 +159,7 @@ class RFC1413 : public InspSocket
snprintf(ident_request,127,"%d,%d\r\n",ntohs(sock_them.sin_port),ntohs(sock_us.sin_port));
#endif
this->Write(ident_request);
- ilog(Instance,DEBUG,"Sent ident request, waiting for reply");
+ Instance->Log(DEBUG,"Sent ident request, waiting for reply");
return true;
}
}