summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoruckelman <uckelman@nomic.net>2010-04-11 16:30:00 +0000
committeruckelman <uckelman@nomic.net>2010-04-11 16:30:00 +0000
commitacd08691c6a16513e8a6e73d04d5cdb4fb0f7d30 (patch)
treec96a6f8a37e4d1b188fe75cede373be1a587c792 /src
parent1303de1c569b7d389af09874ab9dc168a0027bbc (diff)
Added diagnostic.
git-svn-id: https://vassalengine.svn.sourceforge.net/svnroot/vassalengine/site-src/trunk@6658 67b53d14-2c14-4ace-a08f-0dab2b34000c
Diffstat (limited to 'src')
-rw-r--r--src/M2F.php2
1 files changed, 2 insertions, 0 deletions
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);
?>