aboutsummaryrefslogtreecommitdiff
path: root/lib/old-IRC/Client/Plugin/PingPong.pm6
diff options
context:
space:
mode:
Diffstat (limited to 'lib/old-IRC/Client/Plugin/PingPong.pm6')
-rw-r--r--lib/old-IRC/Client/Plugin/PingPong.pm62
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/old-IRC/Client/Plugin/PingPong.pm6 b/lib/old-IRC/Client/Plugin/PingPong.pm6
new file mode 100644
index 0000000..2651fd6
--- /dev/null
+++ b/lib/old-IRC/Client/Plugin/PingPong.pm6
@@ -0,0 +1,2 @@
+unit class IRC::Client::Plugin::PingPong;
+method irc-ping ($irc, $e) { $irc.ssay("PONG {$irc.nick} $e<params>[0]") }