From 39757ff46ec4ea773f7d41df62e3b98e3a4e73df Mon Sep 17 00:00:00 2001 From: David Phillips Date: Fri, 17 Mar 2017 10:32:06 +1300 Subject: =?UTF-8?q?Integrate=20sax->=F0=9F=8E=B7=20into=20the=20generic=20?= =?UTF-8?q?re->rep=20config=20options?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- saxrobot | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'saxrobot') diff --git a/saxrobot b/saxrobot index 0fed5b3..599d4e8 100755 --- a/saxrobot +++ b/saxrobot @@ -83,12 +83,7 @@ sub irc_public { my $me = $irc->nick_name; - my $saxcount = () = $what =~ /sa+x/gi; - - if ($saxcount > 0) { - $irc->yield(privmsg => $channel => "🎷 " x $saxcount); - } - + # FIXME tidy this loop: do we need $idx? my $idx = 0; for (@{$config{re}}) { my $repcount = () = $what =~ /@{$config{re}}[$idx]/gi; -- cgit v1.1