From 480bfbae7863ca0b3babf769aeff8bad0f337778 Mon Sep 17 00:00:00 2001 From: "Alexander S. Aganichev" Date: Mon, 7 Apr 2003 10:15:59 +0000 Subject: [PATCH] Fix warning emission if SeqMsgId set to MayBe --- golded3/gemsgid.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/golded3/gemsgid.cpp b/golded3/gemsgid.cpp index ef08c00..1e22923 100755 --- a/golded3/gemsgid.cpp +++ b/golded3/gemsgid.cpp @@ -44,7 +44,7 @@ ulong getMsgId() { ulong id; char *err; - if(CFG->seqmsgid and not ((CFG->seqmsgid == MAYBE) and (*CFG->seqdir == NUL))) { + if((CFG->seqmsgid == YES) or ((CFG->seqmsgid == MAYBE) and (*CFG->seqdir != NUL))) { id = GenMsgIdEx(CFG->seqdir, CFG->seqoutrun, getClassicMsgId, &err); if(err) { LOG.printf("* Warning, SeqMsgId failed: %s, fall to classic algorythm!", err);