diff options
-rw-r--r-- | util/udnnews.pl | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/util/udnnews.pl b/util/udnnews.pl index ba0fc072..99d690c3 100644 --- a/util/udnnews.pl +++ b/util/udnnews.pl @@ -105,11 +105,11 @@ sub postout { my($param) = @_; return if( !$param->{title} ); -# open FH, ">/tmp/postout.$$"; -# print FH $param->{content}; -print "$param->{content}"; -# close FH; + open FH, ">/tmp/postout.$$"; + print FH $param->{content}; +#print "$param->{content}"; + close FH; -# system("bin/post '$param->{brdname}' '$param->{title}' '$param->{owner}' /tmp/postout.$$"); -# unlink "/tmp/postout.$$"; + system("bin/post '$param->{brdname}' '$param->{title}' '$param->{owner}' /tmp/postout.$$"); + unlink "/tmp/postout.$$"; } |