SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View file

@ -0,0 +1,15 @@
--- download.c.orig Sat Sep 22 00:54:13 2001
+++ download.c Tue Oct 16 18:14:04 2001
@@ -35,6 +35,12 @@ HANDLER (download)
return;
}
+ if (sender->level == LEVEL_LEECH)
+ {
+ send_user (sender, MSG_SERVER_NOSUCH, "permission denied: you are a leech");
+ return;
+ }
+
/* find the user to download from */
user = hash_lookup (Users, av[0]);
if (!user)