summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-07-02 21:55:21 +0800
committerptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-07-02 21:55:21 +0800
commit563d4f34e73443bde2cbc64800908244a3186d78 (patch)
treefae5c20b7f828788652398a0d7be5428607fd7a4
parentcd8f55fc4d83e06cb8a1dd17dbb120fb2601d16d (diff)
downloadpttbbs-563d4f34e73443bde2cbc64800908244a3186d78.tar
pttbbs-563d4f34e73443bde2cbc64800908244a3186d78.tar.gz
pttbbs-563d4f34e73443bde2cbc64800908244a3186d78.tar.bz2
pttbbs-563d4f34e73443bde2cbc64800908244a3186d78.tar.lz
pttbbs-563d4f34e73443bde2cbc64800908244a3186d78.tar.xz
pttbbs-563d4f34e73443bde2cbc64800908244a3186d78.tar.zst
pttbbs-563d4f34e73443bde2cbc64800908244a3186d78.zip
*** empty log message ***
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@996 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--util/udnnews.pl12
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.$$";
}