summaryrefslogtreecommitdiff
path: root/inc/nntpchan
diff options
context:
space:
mode:
authorczaks <marcin@6irc.net>2016-08-19 23:15:08 +0200
committerczaks <marcin@6irc.net>2016-08-19 23:15:42 +0200
commita5e7b3da6f8ee764ab831d3c1b2df6c17a5e78ca (patch)
tree1e240f256a7781fdd75285cd51ed87c715fff2f1 /inc/nntpchan
parent0b19051891e3a45a913cef38f0921cf781a0817b (diff)
nntpchan: work around php nonsense
Diffstat (limited to 'inc/nntpchan')
-rw-r--r--inc/nntpchan/nntpchan.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/nntpchan/nntpchan.php b/inc/nntpchan/nntpchan.php
index 25215e94..8a2fba44 100644
--- a/inc/nntpchan/nntpchan.php
+++ b/inc/nntpchan/nntpchan.php
@@ -124,7 +124,7 @@ function post2nntp($post, $msgid) {
$query->execute() or error(db_error($query));
if ($result = $query->fetch(PDO::FETCH_ASSOC)) {
- return ">>".substr($result['message_id_digest'], 0, 16);
+ return ">>".substr($result['message_id_digest'], 0, 18);
}
else {
return $o[0]; // Should send URL imo