From e91d5023f3ace4bb80d197621d6dc20b6e293641 Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 10 Aug 2006 16:56:03 +0000 Subject: Removal of Server::Log -- not much ever used it anyway with the ability to use log(). log() macro still exists, and calls InspIRCd::Log() git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4845 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_ident.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/modules/m_ident.cpp') diff --git a/src/modules/m_ident.cpp b/src/modules/m_ident.cpp index d40bf045b..3d924bb0f 100644 --- a/src/modules/m_ident.cpp +++ b/src/modules/m_ident.cpp @@ -47,7 +47,7 @@ class RFC1413 : public InspSocket RFC1413(InspIRCd* SI, userrec* user, int maxtime, Server* S) : InspSocket(SI, user->GetIPString(), 113, false, maxtime), Srv(S), u(user), ufd(user->fd) { - Srv->Log(DEBUG,"Ident: associated."); + log(DEBUG,"Ident: associated."); } virtual void OnTimeout() @@ -88,7 +88,7 @@ class RFC1413 : public InspSocket if (u && (fd_ref_table[ufd] == u)) { strlcpy(u->ident,section,IDENTMAX); - Srv->Log(DEBUG,"IDENT SET: "+std::string(u->ident)); + log(DEBUG,"IDENT SET: "+std::string(u->ident)); u->WriteServ("NOTICE "+std::string(u->nick)+" :*** Found your ident: "+std::string(u->ident)); } } @@ -145,7 +145,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))) { - Srv->Log(DEBUG,"Ident: failed to get socket names, bailing"); + log(DEBUG,"Ident: failed to get socket names, bailing"); return false; } else @@ -157,7 +157,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); - Srv->Log(DEBUG,"Sent ident request, waiting for reply"); + log(DEBUG,"Sent ident request, waiting for reply"); return true; } } -- cgit v1.2.3