diff --git a/r5dev/vstdlib/callback.cpp b/r5dev/vstdlib/callback.cpp index f8204f66..3d0cc59c 100644 --- a/r5dev/vstdlib/callback.cpp +++ b/r5dev/vstdlib/callback.cpp @@ -214,7 +214,7 @@ void Host_Ban_f(const CCommand& args) { if (strcmp(args.Arg(1), pNetChan->GetName()) == NULL) // Our wanted name? { - if (g_pBanSystem->AddEntry(pNetChan->GetAddress(), pClient->GetOriginID() && !bSave)) + if (g_pBanSystem->AddEntry(pNetChan->GetAddress(), pClient->GetOriginID()) && !bSave) { bSave = true; }