From d1161a77885705b79fbd894f9b6811b15e9e537d Mon Sep 17 00:00:00 2001 From: epoch Date: Sat, 8 Jun 2019 11:13:01 +0000 Subject: re-enabled access control and disabled addserver --- segfault.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'segfault.c') 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; -- cgit v1.2.3