From: pk910 Date: Sat, 7 Apr 2012 14:42:45 +0000 (+0200) Subject: allow Network Services opping themselves and removed an old copyright message X-Git-Url: http://git.pk910.de/?p=ircu2.10.12-pk.git;a=commitdiff_plain;h=dfd1ba1a12e57ef10ee82d1e13f45ea5b7fb9c0f;ds=sidebyside allow Network Services opping themselves and removed an old copyright message --- diff --git a/ircd/channel.c b/ircd/channel.c index 41e2cdb..b82d8e0 100644 --- 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; } - 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; } diff --git a/ircd/ircd.c b/ircd/ircd.c index 1147f52..f5f0eeb 100644 --- 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"); - printf("you are not allowed to use this version without my permission\n"); thisServer.argc = argc; thisServer.argv = argv; thisServer.uid = getuid();