1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-09 15:03:13 +02:00

- Made blocked dcc notices (sent to umode +v) global, suggested by neothematrix (#1513).

This commit is contained in:
Bram Matthys
2004-02-05 02:12:01 +00:00
parent 781cce98cb
commit 1d12b2b0f9
2 changed files with 4 additions and 2 deletions
+1
View File
@@ -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).
+3 -2
View File
@@ -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;
}