Skip to content

Commit

Permalink
Merge pull request #203 from DALnet/fix-221-core
Browse files Browse the repository at this point in the history
Fix 221 core
  • Loading branch information
eaescob authored Feb 10, 2022
2 parents d99240b + ac39cff commit 7fc039d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/m_rwho.c
Original file line number Diff line number Diff line change
Expand Up @@ -991,11 +991,11 @@ static int rwho_match(aClient *cptr, int *failcode, aClient **failclient)

#ifdef USER_HOSTMASKING
if ((rwho_opts.check[0] & RWM_HOST) &&
rwho_opts.host_func[0](rwho_opts.host_pat[0], cptr->user->host) && rwho_opts.host_func[0](rwho_opts.host_pat[0], cptr->user->mhost))
(rwho_opts.host_func[0](rwho_opts.host_pat[0], cptr->user->host) && rwho_opts.host_func[0](rwho_opts.host_pat[0], cptr->user->mhost)))
return 0;

if ((rwho_opts.check[1] & RWM_HOST) &&
!rwho_opts.host_func[1](rwho_opts.host_pat[1], cptr->user->host) || !rwho_opts.host_func[1](rwho_opts.host_pat[1], cptr->user->mhost))
(!rwho_opts.host_func[1](rwho_opts.host_pat[1], cptr->user->host) || !rwho_opts.host_func[1](rwho_opts.host_pat[1], cptr->user->mhost)))
return 0;
#else
if ((rwho_opts.check[0] & RWM_HOST) &&
Expand Down

0 comments on commit 7fc039d

Please sign in to comment.