diff options
| author | 2005-04-03 15:13:50 +0000 | |
|---|---|---|
| committer | 2005-04-03 15:13:50 +0000 | |
| commit | 89904c1032bbece2747c3518b9f0e998f8da8cb5 (patch) | |
| tree | aeb2656cf3fcc61585bc14206aa86f04860d0cf8 /src/inspircd.cpp | |
| parent | Major optimizations! now uses under 1% cpu all the time whilst idle (diff) | |
| download | inspircd++-89904c1032bbece2747c3518b9f0e998f8da8cb5.tar.gz inspircd++-89904c1032bbece2747c3518b9f0e998f8da8cb5.tar.bz2 inspircd++-89904c1032bbece2747c3518b9f0e998f8da8cb5.zip | |
Fixed a few small dns timeout bugs (allowing users on without nick or user)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@960 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/inspircd.cpp')
| -rw-r--r-- | src/inspircd.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 00e48317b..74682edb1 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -3538,7 +3538,7 @@ int InspIRCd(void) kill_link(count2->second,"Registration timeout"); goto label; } - if ((time(NULL) > count2->second->signon) && (count2->second->registered != 7)) + if ((time(NULL) > count2->second->signon) && (count2->second->registered == 3)) { count2->second->dns_done = true; FullConnectUser(count2->second); @@ -3546,7 +3546,6 @@ int InspIRCd(void) } if ((count2->second->dns_done) && (count2->second->registered == 3)) // both NICK and USER... and DNS { - WriteServ(count2->second->fd,"NOTICE Auth :Timed out when looking up your hostname!",ServerName); FullConnectUser(count2->second); goto label; } |
