Turning off DEAF is mecessary for this technique...
authorEric S. Raymond <esr@thyrsus.com>
Sat, 30 Nov 2013 14:52:39 +0000 (09:52 -0500)
committerEric S. Raymond <esr@thyrsus.com>
Sat, 30 Nov 2013 14:52:39 +0000 (09:52 -0500)
...but, alas, the server doesn't echo pings back to their sources.

irkerd

diff --git a/irkerd b/irkerd
index 40cef48e50c348db90c648209f21bae61ec0166f..3d156cf2affce9d8a1ed106a4c70b17d0bbd131a 100755 (executable)
--- a/irkerd
+++ b/irkerd
@@ -711,7 +711,7 @@ class Irker:
             cxt = connection.context
             arguments = event.arguments
             for lump in arguments:
-                if lump.startswith("DEAF="):
+                if self.until is None and lump.startswith("DEAF="):
                     if not logfile:
                         connection.mode(cxt.nickname(), "+"+lump[5:])
                 elif lump.startswith("MAXCHANNELS="):