X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=src%2Fcmd_neonserv_resync.c;h=162a9c96dd09fba0dfb529442c9be3404c2fb345;hb=aa505dfe45a4d91447340eb0effa0048108a6f10;hp=9dd7a9ce35f91b0fd98ab0cfbdb516de06f4edbc;hpb=336aac7dbdb3597f3d80423aa07239fad5287046;p=NeonServV5.git diff --git a/src/cmd_neonserv_resync.c b/src/cmd_neonserv_resync.c index 9dd7a9c..162a9c9 100644 --- a/src/cmd_neonserv_resync.c +++ b/src/cmd_neonserv_resync.c @@ -116,7 +116,7 @@ static void neonserv_cmd_resync_async1(struct ClientSocket *client, struct Clien } } } - if((usermask && *usermask && match(usermask, row[1])) || caccess < min_access || caccess > max_access) continue; + if((usermask && *usermask && match(usermask, chanuser->user->nick)) || caccess < min_access || caccess > max_access) continue; if(caccess >= db_enfops) { if(!(chanuser->flags & CHANUSERFLAG_OPPED) && resync_op) modeBufferOp(modeBuf, chanuser->user->nick);