Bryan Drewery 22 anni fa
parent
commit
4d3c7d7ba2
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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);
   get_user_flagrec(u2, &fr2, NULL);
 
 
   /* check to see if user is +d or +k and don't let them remove hosts from THEMSELVES*/
   /* 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");
     dprintf(idx, "You can't remove hostmasks from yourself while having the +d or +k flag.\n");
       return;
       return;
     }
     }