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
commit49225a6929ff3bd8c4730fc14ebb3d09e88b61a2 (patch)
tree107b65d2fefbc6d9d9d66e9e9d9b96ad3a2fc81a
parentd4aaf1614a98ef8816d00c7d3a0a59850c992564 (diff)
downloadpttbbs-49225a6929ff3bd8c4730fc14ebb3d09e88b61a2.tar
pttbbs-49225a6929ff3bd8c4730fc14ebb3d09e88b61a2.tar.gz
pttbbs-49225a6929ff3bd8c4730fc14ebb3d09e88b61a2.tar.bz2
pttbbs-49225a6929ff3bd8c4730fc14ebb3d09e88b61a2.tar.lz
pttbbs-49225a6929ff3bd8c4730fc14ebb3d09e88b61a2.tar.xz
pttbbs-49225a6929ff3bd8c4730fc14ebb3d09e88b61a2.tar.zst
pttbbs-49225a6929ff3bd8c4730fc14ebb3d09e88b61a2.zip
*** empty log message ***
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk@996 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--pttbbs/util/udnnews.pl12
1 files changed, 6 insertions, 6 deletions
diff --git a/pttbbs/util/udnnews.pl b/pttbbs/util/udnnews.pl
index ba0fc072..99d690c3 100644
--- a/pttbbs/util/udnnews.pl
+++ b/pttbbs/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.$$";
}