summaryrefslogtreecommitdiff
path: root/NNTPRoutines.c
diff options
context:
space:
mode:
authorDave Hibberd <hibby@debian.org>2024-12-16 17:54:16 +0000
committerDave Hibberd <hibby@debian.org>2024-12-17 17:45:09 +0000
commit87cd041888dbeefe040b44b2d0a6945d8b850630 (patch)
tree90ddbd87b5e84f3f037b1721389b1061c7c15d34 /NNTPRoutines.c
parent96c573931d40b6b191614c96299d66ca6217d1d8 (diff)
New upstream version 6.0.24.54+repack
Diffstat (limited to 'NNTPRoutines.c')
-rw-r--r--NNTPRoutines.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/NNTPRoutines.c b/NNTPRoutines.c
index 16b6478..d2efbbf 100644
--- a/NNTPRoutines.c
+++ b/NNTPRoutines.c
@@ -25,6 +25,7 @@ along with LinBPQ/BPQ32. If not, see http://www.gnu.org/licenses
VOID __cdecl Debugprintf(const char * format, ...);
VOID ReleaseSock(SOCKET sock);
+void MQTTMessageEvent(void* message);
struct NNTPRec * FirstNNTPRec = NULL;
@@ -352,6 +353,12 @@ int CreateNNTPMessage(char * From, char * To, char * MsgTitle, time_t Date, char
BuildNNTPList(Msg); // Build NNTP Groups list
+#ifndef NOMQTT
+ if (MQTT)
+ MQTTMessageEvent(Msg);
+#endif
+
+
return CreateSMTPMessageFile(MsgBody, Msg);
}