summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-02 00:38:59 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-02 00:38:59 +0000
commitb53b47ca757d96c36773cbeab804c63cfb512632 (patch)
tree662e43405e5eb3b8c0c444d4125677dccec16eba
parent8521a649632fef348cedfa38c770f1d6148415f7 (diff)
Fixes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4632 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/users.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/users.cpp b/src/users.cpp
index 8e466592e..85fd06dbe 100644
--- a/src/users.cpp
+++ b/src/users.cpp
@@ -136,7 +136,7 @@ bool userrec::ProcessNoticeMasks(const char *sm)
void userrec::StartDNSLookup()
{
- log(DEBUG,"Commencing forward lookup");
+ log(DEBUG,"Commencing reverse lookup");
res_reverse = new UserResolver(this, insp_ntoa(this->ip4), false);
MyServer->AddResolver(res_reverse);
}
@@ -150,7 +150,7 @@ void UserResolver::OnLookupComplete(const std::string &result)
{
if ((!this->fwd) && (fd_ref_table[this->bound_fd] == this->bound_user))
{
- log(DEBUG,"Commencing reverse lookup");
+ log(DEBUG,"Commencing forward lookup");
this->bound_user->stored_host = result;
bound_user->res_forward = new UserResolver(this->bound_user, result, true);
MyServer->AddResolver(bound_user->res_forward);
@@ -185,11 +185,11 @@ void UserResolver::OnError(ResolverError e)
if (fd_ref_table[this->bound_fd] == this->bound_user)
{
/* Error message here */
- WriteServ(this->bound_fd, "*** Could not resolve your hostname, using your IP address (%s) instead.", insp_ntoa(this->bound_user->ip4));
+ WriteServ(this->bound_fd, "NOTICE Auth :*** Could not resolve your hostname, using your IP address (%s) instead.", insp_ntoa(this->bound_user->ip4));
this->bound_user->dns_done = true;
}
}
-
+
bool userrec::IsNoticeMaskSet(unsigned char sm)
{