diff --git a/Changes b/Changes index c222ad237..1f6c0adb0 100644 --- a/Changes +++ b/Changes @@ -2810,3 +2810,4 @@ seen. gmtime warning still there - '/rehash -all' had bugs and is now considered depricated, just use '/rehash' instead. On '/rehash' we reload everything already so the '-all' option was useless anyway. Reported by fez (#0001516). +- Made blocked dcc notices (sent to umode +v) global, suggested by neothematrix (#1513). diff --git a/src/modules/m_message.c b/src/modules/m_message.c index 10b983c0f..aded34081 100644 --- a/src/modules/m_message.c +++ b/src/modules/m_message.c @@ -270,8 +270,9 @@ DLLFUNC int m_message(aClient *cptr, aClient *sptr, int parc, char *parv[], int sendto_umode(UMODE_VICTIM, "%s tried to send forbidden file %s (%s) to %s (is blocked now)", - sptr->name, file, - fl->reason, acptr->name); + sptr->name, file, fl->reason, acptr->name); + sendto_serv_butone(NULL, ":%s SMO v :%s tried to send forbidden file %s (%s) to %s (is blocked now)", + me.name, sptr->name, file, fl->reason, acptr->name); sptr->flags |= FLAGS_DCCBLOCK; continue; }