projects
/
srvx.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
added option to force opers to be in staff_auth_channel
[srvx.git]
/
src
/
proto-common.c
diff --git
a/src/proto-common.c
b/src/proto-common.c
index 89f4ebd0fca34aef9c68f557cb30e5ce0c4956a0..fbd22e304e5348cf8501d6163d8af278aa04b211 100644
(file)
--- a/
src/proto-common.c
+++ b/
src/proto-common.c
@@
-482,6
+482,8
@@
part_helper(struct chanNode *cn, void *data)
{
struct part_desc *desc = data;
DelChannelUser(desc->user, cn, desc->text, false);
+ if (IsOper(desc->user))
+ operpart(cn, desc->user);
}
static CMD_FUNC(cmd_part)