]> jfr.im git - irc/quakenet/newserv.git/commitdiff
Add ping timeout diagnostic message to irc module.
authorChris Porter <redacted>
Wed, 20 Aug 2008 15:46:40 +0000 (16:46 +0100)
committerChris Porter <redacted>
Wed, 20 Aug 2008 15:46:40 +0000 (16:46 +0100)
irc/irc.c

index 04b99a9abe31e246157fef2c5e248642a90c7fb9..3636782176b65f16e43957b92d367d085b7d2f85 100644 (file)
--- a/irc/irc.c
+++ b/irc/irc.c
@@ -559,6 +559,8 @@ void sendping(void *arg) {
   if (connected) {
     if (awaitingping==1) {
       /* We didn't get a ping reply, kill the connection */
+      Error("irc",ERR_INFO,"Connection closed due to ping timeout.");
+
       irc_send("%s SQ %s 0 :Ping timeout",mynumeric->content,myserver->content);
       irc_disconnected();
     } else {