SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
15
audio/opennap/patches/patch-download_c
Normal file
15
audio/opennap/patches/patch-download_c
Normal 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)
|
Loading…
Add table
Add a link
Reference in a new issue