Fix loading of taglines

This commit is contained in:
Andrew Pamment 2016-03-27 13:26:25 +10:00
parent 9ca3609b7c
commit 6921fc829c

2
bbs.c
View File

@ -213,7 +213,7 @@ static int mail_area_handler(void* user, const char* section, const char* name,
} else { } else {
mc->realnames = 0; mc->realnames = 0;
} }
} else if (strcasecmp(name, "tagline")) { } else if (strcasecmp(name, "tagline") == 0) {
mc->tagline = strdup(value); mc->tagline = strdup(value);
} }
} else if (strcasecmp(section, "network") == 0) { } else if (strcasecmp(section, "network") == 0) {