Binkp fixes

This commit is contained in:
Michiel Broek 2003-08-10 13:56:26 +00:00
parent 5e98dbf641
commit 391f7c4603

View File

@ -141,11 +141,10 @@ int binkp(int role)
} }
Syslog('b', "NoFreqs %s", (localoptions & NOFREQS) ? "True":"False"); Syslog('b', "NoFreqs %s", (localoptions & NOFREQS) ? "True":"False");
Syslog('b', "Session WAZOO %s", (session_flags & SESSION_WAZOO) ? "True":"False");
if (localoptions & NOFREQS) if (localoptions & NOFREQS)
session_flags &= ~SESSION_WAZOO; session_flags &= ~SESSION_WAZOO;
else else
session_flags |= ~SESSION_WAZOO; session_flags |= SESSION_WAZOO;
Syslog('b', "Session WAZOO %s", (session_flags & SESSION_WAZOO) ? "True":"False"); Syslog('b', "Session WAZOO %s", (session_flags & SESSION_WAZOO) ? "True":"False");
nonhold_mail = (char *)ALL_MAIL; nonhold_mail = (char *)ALL_MAIL;
@ -466,7 +465,7 @@ void b_nul(char *msg)
Syslog('b', "1.1 mode"); Syslog('b', "1.1 mode");
else { else {
Syslog('b', "1.0 mode"); Syslog('b', "1.0 mode");
localoptions |= NOFREQS; localoptions &= ~NOFREQS;
} }
} }
else if (strncmp(msg, "PHN ", 4) == 0) else if (strncmp(msg, "PHN ", 4) == 0)