projects
/
NeonServV5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17e165b
)
remove CHANUSERFLAG_INVISIBLE if bot gets voiced / opped or +Dd gets removed
author
pk910
<philipp@zoelle1.de>
Wed, 14 Dec 2011 20:38:46 +0000
(21:38 +0100)
committer
pk910
<philipp@zoelle1.de>
Wed, 14 Dec 2011 20:45:44 +0000
(21:45 +0100)
src/ModeNode.c
patch
|
blob
|
history
diff --git
a/src/ModeNode.c
b/src/ModeNode.c
index 79f240cec1a50af15d5744719dce0c39adfbdc2e..6ed9b530b89e7b5d42ae3c7e844925bd5bf398ca 100644
(file)
--- a/
src/ModeNode.c
+++ b/
src/ModeNode.c
@@
-145,6
+145,8
@@
static void parseModesUserPriv(struct ModeNode* modes, unsigned char flag, int a
chanuser->flags |= flag;
else
chanuser->flags &= ~flag;
+ if((chanuser->flags & CHANUSERFLAG_OPPED_OR_VOICED) && (chanuser->flags & CHANUSERFLAG_INVISIBLE))
+ chanuser->flags &= ~CHANUSERFLAG_INVISIBLE;
}
static void parseModesBan(struct ModeNode* modes, int add, char *mask) {