summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorepoch <epoch@hack.thebackupbox.net>2019-06-08 11:13:01 +0000
committerepoch <epoch@hack.thebackupbox.net>2019-06-08 11:13:01 +0000
commitd1161a77885705b79fbd894f9b6811b15e9e537d (patch)
tree4da6954c074e9988f0763bb2d4a0c5348b7e621e
parenteef267dd88e27b2ae54d8ce599ec1b23e4a173e3 (diff)
downloadsegfault-d1161a77885705b79fbd894f9b6811b15e9e537d.tar.gz
segfault-d1161a77885705b79fbd894f9b6811b15e9e537d.zip
re-enabled access control and disabled addserver
-rw-r--r--segfault.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/segfault.c b/segfault.c
index 74344d4..7891196 100644
--- a/segfault.c
+++ b/segfault.c
@@ -1272,7 +1272,7 @@ int message_handler(int fd,char *from,struct user *user,char *msg,int redones) {
}
//access control goes here
if(!isallowed(from,user,myuser,msg)) {
- // return 1;
+ return 1;
}
// command[1]=' ';
// }
@@ -1488,7 +1488,7 @@ int main(int argc,char *argv[]) {
BUILDIN("aliases",c_aliases_h);
BUILDIN("lobotomy",c_lobotomy);
BUILDIN("amnesia",c_amnesia);
- BUILDIN("addserver",c_addserver);
+// BUILDIN("addserver",c_addserver);
// BUILDIN("peek",c_mem);
// BUILDIN("poke",c_mem);
mode_magic=1;