diff --git a/mbsebbs/mbsebbs.c b/mbsebbs/mbsebbs.c index fa2f4498..a561d55b 100644 --- a/mbsebbs/mbsebbs.c +++ b/mbsebbs/mbsebbs.c @@ -117,7 +117,7 @@ int main(int argc, char **argv) Syslog('+', "REMOTEHOST %s", p); if ((p = getenv("TERM")) != NULL) Syslog('+', "TERM=%s", p); - if ((p = getnev("LANG")) != NULL) + if ((p = getenv("LANG")) != NULL) Syslog('+', "LANG=%s", p); if ((p = getenv("LC_ALL")) != NULL) Syslog('+', "LC_ALL=%s", p);