Bryan Drewery hace 22 años
padre
commit
4d3c7d7ba2
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/cmds.c

+ 1 - 1
src/cmds.c

@@ -3543,7 +3543,7 @@ static void cmd_mns_host(struct userrec *u, int idx, char *par)
   get_user_flagrec(u2, &fr2, NULL);
 
   /* check to see if user is +d or +k and don't let them remove hosts from THEMSELVES*/
-  if (u == u2 && (glob_deop(fr) || glob_kick(fr) || (!glob_master(fr) && (chan_deop(fr) || chan_kick (fr)))) {
+  if (u == u2 && (glob_deop(fr) || glob_kick(fr) || (!glob_master(fr) && (chan_deop(fr) || chan_kick (fr))))) {
     dprintf(idx, "You can't remove hostmasks from yourself while having the +d or +k flag.\n");
       return;
     }