Ver código fonte

This check doesn't work here as a separate dcc is created for transfer

Bryan Drewery 13 anos atrás
pai
commit
d2cfdfcae6
1 arquivos alterados com 0 adições e 7 exclusões
  1. 0 7
      src/mod/share.mod/share.c

+ 0 - 7
src/mod/share.mod/share.c

@@ -1301,13 +1301,6 @@ finish_share(int idx)
   if (j == -1)
     return;
 
-  if (bot_aggressive_to(dcc[idx].user)) {
-    putlog(LOG_ERRORS, "*", "%s attempted to end user transfer [compat] - I'm supposed to be aggressive to it [likely a hack]", dcc[idx].nick);
-    dprintf(idx, "s un I have you marked for Agressive sharing.\n");
-    botunlink(-2, dcc[idx].nick, "I'm aggressive to you");
-    return;
-  }
-
   const char salt1[] = SALT1;
   EncryptedStream stream(salt1);
   stream.loadFile(dcc[idx].u.xfer->filename);