mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Fix bug where the originID field doesn't get set when banning by name
This commit is contained in:
parent
42dcfdbbec
commit
22fa9bbef9
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user