From: Ian Jackson Date: Fri, 11 Apr 2014 16:18:10 +0000 (+0100) Subject: works, tested X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=8d228dae9ab76948940888b5e9fdc85f07e04c41;p=post-pizza-notify.git works, tested --- diff --git a/.gitignore b/.gitignore index b25c15b..87d8975 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ *~ +log-*.txt diff --git a/via-irctopic b/via-irctopic new file mode 100755 index 0000000..8dadc0d --- /dev/null +++ b/via-irctopic @@ -0,0 +1,15 @@ +#!/usr/bin/perl -w +use strict; +die unless @ARGV==4; +our ($server,$port,$channel,$msg) = @ARGV; + +chdir "../ircbot.git" or die $!; + +exec qw(./topicedit.tcl), + $server, $port, 'ppizzabot', + $ENV{'PIZZANOTIFY_email'}, + $ENV{'PIZZANOTIFY_name'}, + $channel, + $msg; + +die $!;