Added user registration code

This commit is contained in:
Michiel Broek
2005-04-20 16:59:32 +00:00
parent f0da8b1384
commit b8d4951a15
10 changed files with 213 additions and 76 deletions

View File

@@ -540,7 +540,7 @@ void Chat(int sysop)
rsize = lines - 7;
rpointer = 0;
sprintf(buf, "CCON,3,%d,%s,%s;", mypid, CFG.sysop, sysop ? "1":"0");
sprintf(buf, "CCON,4,%d,%s,%s,%s;", mypid, CFG.sysop_name, CFG.sysop, sysop ? "1":"0");
Syslog('-', "> %s", buf);
if (socket_send(buf) == 0) {
strcpy(buf, socket_receive());