Change arcfour example module to use ARC4CHAT instead of SCHAT as the DCC type

The SCHAT type is already used by some other clients for SSL CHAT.  This example module doesn't work
yet anyway, so no-one can actually be using it.
This commit is contained in:
Kevin Easton
2018-03-14 16:58:10 +11:00
parent 9e7fc85ae1
commit 99c5ec9872
2 changed files with 6 additions and 3 deletions

View File

@@ -124,8 +124,8 @@ int Arcfour_Init(IrcCommandDll **intp, Function_ptr *global_table)
initialize_module(MODULE_NAME);
memset(keyboxes, 0, sizeof(keyboxes));
typenum = add_dcc_bind("SCHAT", MODULE_NAME, &schat_ops);
add_module_proc(DCC_PROC, MODULE_NAME, "SCHAT", "Secure DCC Chat", 0, 0, dcc_sdcc, NULL);
typenum = add_dcc_bind("ARC4CHAT", MODULE_NAME, &schat_ops);
add_module_proc(DCC_PROC, MODULE_NAME, "ARC4CHAT", "ArcFour DCC Chat", 0, 0, dcc_sdcc, NULL);
return 0;
}
@@ -282,6 +282,6 @@ void dcc_sdcc (char *name, char *args)
if (p && *p)
*p = 0;
}
dcc_create(args, "SCHAT", NULL, 0, 0, typenum, DCC_TWOCLIENTS, start_dcc_chat);
dcc_create(args, "ARC4CHAT", NULL, 0, 0, typenum, DCC_TWOCLIENTS, start_dcc_chat);
}
}