projects
/
NeonServV5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
22aeca9
)
fixed colors in cmd_neonserv_nicklist.c
author
pk910
<philipp@zoelle1.de>
Sun, 9 Sep 2012 07:41:02 +0000
(09:41 +0200)
committer
pk910
<philipp@zoelle1.de>
Sun, 9 Sep 2012 07:41:02 +0000
(09:41 +0200)
src/modules/NeonServ.mod/cmd_neonserv_nicklist.c
patch
|
blob
|
history
diff --git
a/src/modules/NeonServ.mod/cmd_neonserv_nicklist.c
b/src/modules/NeonServ.mod/cmd_neonserv_nicklist.c
index 42cac607a312c5360a986eed7e9ba43b23694b73..5043f42fc653fe338c4bba74c5a38d85053762a4 100644
(file)
--- a/
src/modules/NeonServ.mod/cmd_neonserv_nicklist.c
+++ b/
src/modules/NeonServ.mod/cmd_neonserv_nicklist.c
@@
-241,7
+241,10
@@
static void neonserv_cmd_nicklist_async1(struct ClientSocket *client, struct Cli
}
} else {
synced_user = 1;
}
} else {
synced_user = 1;
- accessbufpos = sprintf(accessbuf, "\003040\003");
+ if(((chanuser->flags & CHANUSERFLAG_OPPED) && db_enfops > caccess) || ((chanuser->flags & CHANUSERFLAG_VOICED) && db_enfvoice > caccess))
+ accessbufpos = sprintf(accessbuf, "\003040\003");
+ else
+ accessbufpos = sprintf(accessbuf, "0");
}
} else if(!uaccess)
accessbufpos = sprintf(accessbuf, "0");
}
} else if(!uaccess)
accessbufpos = sprintf(accessbuf, "0");