|
@@ -761,10 +761,8 @@ detect_dcc_flood(time_t * timer, struct chat_info *chat, int idx)
|
|
|
void
|
|
void
|
|
|
do_boot(int idx, char *by, char *reason)
|
|
do_boot(int idx, char *by, char *reason)
|
|
|
{
|
|
{
|
|
|
- int files = (dcc[idx].type != &DCC_CHAT);
|
|
|
|
|
-
|
|
|
|
|
dprintf(idx, DCC_BOOTED1);
|
|
dprintf(idx, DCC_BOOTED1);
|
|
|
- dprintf(idx, DCC_BOOTED2, files ? "file section" : "bot", by, reason[0] ? ": " : ".", reason);
|
|
|
|
|
|
|
+ dprintf(idx, DCC_BOOTED2, by, reason[0] ? ": " : ".", reason);
|
|
|
/* If it's a partyliner (chatterer :) */
|
|
/* If it's a partyliner (chatterer :) */
|
|
|
/* Horrible assumption that DCT_CHAT using structure uses same format
|
|
/* Horrible assumption that DCT_CHAT using structure uses same format
|
|
|
* as DCC_CHAT */
|
|
* as DCC_CHAT */
|