From dfd1ba1a12e57ef10ee82d1e13f45ea5b7fb9c0f Mon Sep 17 00:00:00 2001 From: pk910 Date: Sat, 7 Apr 2012 16:42:45 +0200 Subject: [PATCH] allow Network Services opping themselves and removed an old copyright message --- ircd/channel.c | 2 +- ircd/ircd.c | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) 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(); -- 2.20.1