summaryrefslogtreecommitdiff
path: root/FBBRoutines.c
diff options
context:
space:
mode:
authorJohn Wiseman <john.wiseman@cantab.net>2022-12-09 11:05:49 +0000
committerJohn Wiseman <john.wiseman@cantab.net>2022-12-09 11:05:49 +0000
commitebc845ec8c8ed630f77205fbad9a19174e93785a (patch)
treede89bbd9f61fae04015d056e20593d44c3dd8245 /FBBRoutines.c
parente95c1f37c364dba88808b3f298116fca46d6d08c (diff)
6.0.23.3023.34
Diffstat (limited to 'FBBRoutines.c')
-rw-r--r--FBBRoutines.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/FBBRoutines.c b/FBBRoutines.c
index 64886af..84b09d6 100644
--- a/FBBRoutines.c
+++ b/FBBRoutines.c
@@ -551,7 +551,6 @@ ok:
// FC EM A3EDD4P00P55 377 281 0
-
/*
@@ -576,7 +575,7 @@ ok:
if (ptr == NULL) goto badparam2;
- // Relay In RO mode adds @MPS@R to the MID. Non't know why (yet!)
+ // Relay In RO mode adds @MPS@R to the MID. Don't know why (yet!)
MPS = strlop(ptr, '@');
if (MPS)
@@ -605,7 +604,7 @@ ok:
char * To = strtok_s(NULL, seps, &Context);
char * Type = strtok_s(NULL, seps, &Context);
- if (From && To && ATBBS && CheckRejFilters(From, To, ATBBS, NULL, *Type))
+ if (From && To && ATBBS && Type && CheckRejFilters(From, To, ATBBS, NULL, *Type))
{
memset(FBBHeader, 0, sizeof(struct FBBHeaderLine)); // Clear header
conn->FBBReplyChars[conn->FBBReplyIndex++] = '-';