diff options
author | epoch <epoch@hack.thebackupbox.net> | 2019-06-08 11:13:01 +0000 |
---|---|---|
committer | epoch <epoch@hack.thebackupbox.net> | 2019-06-08 11:13:01 +0000 |
commit | d1161a77885705b79fbd894f9b6811b15e9e537d (patch) | |
tree | 4da6954c074e9988f0763bb2d4a0c5348b7e621e | |
parent | eef267dd88e27b2ae54d8ce599ec1b23e4a173e3 (diff) | |
download | segfault-d1161a77885705b79fbd894f9b6811b15e9e537d.tar.gz segfault-d1161a77885705b79fbd894f9b6811b15e9e537d.zip |
re-enabled access control and disabled addserver
-rw-r--r-- | segfault.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |