From 99c5ec9872d75cd80cae2d464485f9e7252749e4 Mon Sep 17 00:00:00 2001 From: Kevin Easton Date: Wed, 14 Mar 2018 16:58:10 +1100 Subject: [PATCH] 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. --- Changelog | 3 +++ dll/arcfour/arcfour.c | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) 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); } }