diff --git a/Changelog b/Changelog index 74e1fc0..edbf7c2 100644 --- a/Changelog +++ b/Changelog @@ -1,5 +1,8 @@ [Changes 1.2.2] +* Change arcfour example module to use ARC4CHAT instead of SCHAT as the DCC + type (SCHAT is already used by some other clients for SSL CHAT). (caf) + * Fix various problems with adding and removing module DCC bindings. The same DCC type cannot be bound by more than one module simultaneously. The remove_all_dcc_binds() function now only removes all DCC bindings for the diff --git a/dll/arcfour/arcfour.c b/dll/arcfour/arcfour.c index fc84992..0ebbca5 100644 --- a/dll/arcfour/arcfour.c +++ b/dll/arcfour/arcfour.c @@ -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); } }