diff options
| author | 2007-07-24 12:30:04 +0000 | |
|---|---|---|
| committer | 2007-07-24 12:30:04 +0000 | |
| commit | baeb7052e853622477f9f147b389fcff6862fee5 (patch) | |
| tree | da5fa5515743f1b8cee5484d49e935e9bcb0f9a3 /src/userprocess.cpp | |
| parent | Merge r7531 from trunk. (diff) | |
Merge 7533-7535 from trunk
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7536 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/userprocess.cpp')
| -rw-r--r-- | src/userprocess.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/userprocess.cpp b/src/userprocess.cpp index 96eba0469..df422c721 100644 --- a/src/userprocess.cpp +++ b/src/userprocess.cpp @@ -224,7 +224,7 @@ void InspIRCd::DoBackgroundUserStuff(time_t TIME) if ((TIME > curr->timeout) && (curr->registered != REG_ALL)) { curr->muted = true; - GlobalCulls.AddItem(curr,"Registration timeout"); + userrec::QuitUser(this, curr, "Registration timeout"); continue; } else @@ -277,9 +277,9 @@ void InspIRCd::DoBackgroundUserStuff(time_t TIME) char message[MAXBUF]; snprintf(message, MAXBUF, "Ping timeout: %ld second%s", (long)time, time > 1 ? "s" : ""); curr->muted = true; - GlobalCulls.AddItem(curr, message); curr->lastping = 1; curr->nping = TIME+curr->pingmax; + userrec::QuitUser(this, curr, message); continue; } curr->Write("PING :%s",this->Config->ServerName); |
