projects
/
NeonServV5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
cf7ca8d
)
ignore bots and ircops on cmd_resync
author
pk910
<philipp@zoelle1.de>
Sat, 24 Sep 2011 23:13:23 +0000
(
01:13
+0200)
committer
pk910
<philipp@zoelle1.de>
Sat, 24 Sep 2011 23:13:23 +0000
(
01:13
+0200)
cmd_neonserv_resync.c
patch
|
blob
|
history
diff --git
a/cmd_neonserv_resync.c
b/cmd_neonserv_resync.c
index 78a1edd50271d1a29e823d7708ec8c594b0229f0..888ff3d1dd7fa2ad2008d67a3ba259f117d2453b 100644
(file)
--- a/
cmd_neonserv_resync.c
+++ b/
cmd_neonserv_resync.c
@@
-110,7
+110,7
@@
static void neonserv_cmd_resync_async1(struct ClientSocket *client, struct Clien
} else {
if((chanuser->flags & CHANUSERFLAG_OPPED) && resync_op && !(chanuser->user->flags & (USERFLAG_ISBOT | USERFLAG_ISIRCOP)))
modeBufferDeop(modeBuf, chanuser->user->nick);
} else {
if((chanuser->flags & CHANUSERFLAG_OPPED) && resync_op && !(chanuser->user->flags & (USERFLAG_ISBOT | USERFLAG_ISIRCOP)))
modeBufferDeop(modeBuf, chanuser->user->nick);
- if((chanuser->flags & CHANUSERFLAG_VOICED) && resync_voice)
+ if((chanuser->flags & CHANUSERFLAG_VOICED) && resync_voice
&& !(chanuser->user->flags & (USERFLAG_ISBOT | USERFLAG_ISIRCOP))
)
modeBufferDevoice(modeBuf, chanuser->user->nick);
}
modeBufferDevoice(modeBuf, chanuser->user->nick);
}