allow Network Services opping themselves and removed an old copyright message
authorpk910 <philipp@zoelle1.de>
Sat, 7 Apr 2012 14:42:45 +0000 (16:42 +0200)
committerpk910 <philipp@zoelle1.de>
Sat, 7 Apr 2012 14:42:45 +0000 (16:42 +0200)
ircd/channel.c
ircd/ircd.c

index 41e2cdb6dda2d6bfd51dcd95e250451ee8361137..b82d8e0780b25c4e3d0f8a92cb7ff71fd72a6d63 100644 (file)
@@ -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;
     }
index 1147f525ab17b0b909035ed3a2a216b27fb2ade3..f5f0eeb54d513403c0885f549129d52cb851895c 100644 (file)
@@ -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();