From acd08691c6a16513e8a6e73d04d5cdb4fb0f7d30 Mon Sep 17 00:00:00 2001 From: uckelman Date: Sun, 11 Apr 2010 16:30:00 +0000 Subject: Added diagnostic. git-svn-id: https://vassalengine.svn.sourceforge.net/svnroot/vassalengine/site-src/trunk@6658 67b53d14-2c14-4ace-a08f-0dab2b34000c --- src/M2F.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/M2F.php') diff --git a/src/M2F.php b/src/M2F.php index fd2901f..0e3fed8 100644 --- a/src/M2F.php +++ b/src/M2F.php @@ -19,6 +19,7 @@ $seen = $bridge->registerMessage($msg->getMessageId(), if ($seen) { # This message has already been processed. + print "Message id already seen, skipping.\n"; exit; } @@ -46,6 +47,7 @@ else { # Post the message to the forum $phpbb->postMessage($postType, $forumId, $topicId, $msg); + $bridge->setPostId($messageId, $postId); ?> -- cgit v1.2.3