From aa505dfe45a4d91447340eb0effa0048108a6f10 Mon Sep 17 00:00:00 2001 From: pk910 Date: Fri, 18 Nov 2011 15:40:21 +0100 Subject: [PATCH] fixed crash bug in cmd_resync --- src/cmd_neonserv_resync.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.20.1