diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/M2F.php | 2 |
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); ?> |