Download | Plain Text | No Line Numbers


  1. --- eggdrop1.8.orig/src/dcc.c 2012-09-19 17:44:58.000000000 +0200
  2. +++ eggdrop1.8/src/dcc.c 2012-09-20 01:19:38.000000000 +0200
  3. @@ -1316,6 +1316,13 @@
  4. return;
  5. }
  6.  
  7. + /* Skip ident lookup if disabled */
  8. + if (identtimeout <= 0) {
  9. + dcc[i].u.ident_sock = dcc[idx].sock;
  10. + dcc_telnet_got_ident(i, userhost);
  11. + return;
  12. + }
  13. +
  14. changeover_dcc(i, &DCC_IDENTWAIT, 0);
  15. dcc[i].timeval = now;
  16. dcc[i].u.ident_sock = dcc[idx].sock;
  17. --- eggdrop1.8.orig/eggdrop.conf 2012-09-20 01:33:56.000000000 +0200
  18. +++ eggdrop1.8/eggdrop.conf 2012-09-20 01:35:49.000000000 +0200
  19. @@ -303,6 +303,7 @@
  20.  
  21. # This setting defines the time in seconds the bot should wait for ident reply
  22. # before the lookup fails. The default ident on timeout is 'telnet'.
  23. +# A value of 0 disables the ident lookup entirely.
  24. set ident-timeout 5
  25.  
  26. # Define here whether or not a +o user still needs the +p flag to dcc the bot.
  27.