projects
/
ircu2.10.12-pk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f6892ec
)
allow Network Services opping themselves and removed an old copyright message
author
pk910
<philipp@zoelle1.de>
Sat, 7 Apr 2012 14:42:45 +0000
(16:42 +0200)
committer
pk910
<philipp@zoelle1.de>
Sat, 7 Apr 2012 14:42:45 +0000
(16:42 +0200)
ircd/channel.c
patch
|
blob
|
history
ircd/ircd.c
patch
|
blob
|
history
diff --git
a/ircd/channel.c
b/ircd/channel.c
index 41e2cdb6dda2d6bfd51dcd95e250451ee8361137..b82d8e0780b25c4e3d0f8a92cb7ff71fd72a6d63 100644
(file)
--- a/
ircd/channel.c
+++ b/
ircd/channel.c
@@
-3514,7
+3514,7
@@
mode_parse_client(struct ParseState *state, ulong64 *flag_p)
} else if (req_oplevel <= MAXOPLEVEL)
oplevel = req_oplevel;
}
} else if (req_oplevel <= MAXOPLEVEL)
oplevel = req_oplevel;
}
- if(*flag_p == CHFL_CHANOP && state->member && !IsChanOp(state->member)) {
+ if(*flag_p == CHFL_CHANOP && state->member && !IsChanOp(state->member)
&& !(state->flags & MODE_PARSE_FORCE)
) {
send_notoper(state);
return;
}
send_notoper(state);
return;
}
diff --git
a/ircd/ircd.c
b/ircd/ircd.c
index 1147f525ab17b0b909035ed3a2a216b27fb2ade3..f5f0eeb54d513403c0885f549129d52cb851895c 100644
(file)
--- a/
ircd/ircd.c
+++ b/
ircd/ircd.c
@@
-623,7
+623,6
@@
static int set_userid_if_needed(void) {
int main(int argc, char **argv) {
CurrentTime = time(NULL);
printf("Starting IRCu 2.10.12.10 by pk910.\n");
int main(int argc, char **argv) {
CurrentTime = time(NULL);
printf("Starting IRCu 2.10.12.10 by pk910.\n");
- printf("you are not allowed to use this version without my permission\n");
thisServer.argc = argc;
thisServer.argv = argv;
thisServer.uid = getuid();
thisServer.argc = argc;
thisServer.argv = argv;
thisServer.uid = getuid();