projects
/
NeonServV5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
336aac7
)
fixed crash bug in cmd_resync
author
pk910
<philipp@zoelle1.de>
Fri, 18 Nov 2011 14:40:21 +0000
(15:40 +0100)
committer
pk910
<philipp@zoelle1.de>
Fri, 18 Nov 2011 14:40:21 +0000
(15:40 +0100)
src/cmd_neonserv_resync.c
patch
|
blob
|
history
diff --git
a/src/cmd_neonserv_resync.c
b/src/cmd_neonserv_resync.c
index 9dd7a9ce35f91b0fd98ab0cfbdb516de06f4edbc..162a9c96dd09fba0dfb529442c9be3404c2fb345 100644
(file)
--- 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);