mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-08 02:03:12 +02:00
Index: Changes
=================================================================== RCS file: /home/cmunk/ircsystems/cvsroot/unreal/Changes,v retrieving revision 1.1.1.1.2.1.2.1.2.2359 diff -u -r1.1.1.1.2.1.2.1.2.2359 Changes --- Changes 18 Apr 2007 13:40:02 -0000 1.1.1.1.2.1.2.1.2.2359 +++ Changes 24 Apr 2007 08:53:59 -0000 @@ -1590,3 +1590,4 @@ allows cloakkey 1 and 3 to be identical. - #0003146 reported by vonitsanet, regarding Modes O,S (etc) not rejected for modes-on-connect fixed by djGrrr +- #0003289 suggested and patched by fbi, adding (Ping timeout: 182 seconds)
This commit is contained in:
@@ -1590,3 +1590,4 @@ MOTDs
|
||||
allows cloakkey 1 and 3 to be identical.
|
||||
- #0003146 reported by vonitsanet, regarding Modes O,S (etc) not rejected for modes-on-connect
|
||||
fixed by djGrrr
|
||||
- #0003289 suggested and patched by fbi, adding (Ping timeout: 182 seconds)
|
||||
|
||||
+4
-1
@@ -537,6 +537,7 @@ extern TS check_pings(TS currenttime)
|
||||
int i = 0;
|
||||
char banbuf[1024];
|
||||
int ping = 0;
|
||||
char scratch[32];
|
||||
|
||||
for (i = 0; i <= LastSlot; i++)
|
||||
{
|
||||
@@ -735,7 +736,9 @@ extern TS check_pings(TS currenttime)
|
||||
cptr->sockhost, currenttime,
|
||||
cptr->since, ping));
|
||||
#endif
|
||||
exit_client(cptr, cptr, &me, "Ping timeout");
|
||||
ircsprintf(scratch, "Ping timeout: %d seconds",
|
||||
(int)(TStime() - cptr->lasttime));
|
||||
exit_client(cptr, cptr, &me, scratch);
|
||||
continue;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user