diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-08-10 16:56:03 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-08-10 16:56:03 +0000 |
commit | e91d5023f3ace4bb80d197621d6dc20b6e293641 (patch) | |
tree | 7d117cc7908bbf5fb0dd18167369f5ff302317c4 /src/modules/m_ident.cpp | |
parent | 94288cdc2efb02eab9f27b3225adad839a7f2b58 (diff) |
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
Diffstat (limited to 'src/modules/m_ident.cpp')
-rw-r--r-- | src/modules/m_ident.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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; } } |