From 17e3a91f03209611b2531cb0d32e0cf42e55d8ce Mon Sep 17 00:00:00 2001 From: Kevin Easton Date: Mon, 25 Feb 2013 12:22:54 +0000 Subject: [PATCH] Remove handling for the 484 numeric. It was intended for ircnet's 484 (ERR_RESTRICTED), to set user mode +r - however this does not appear to be necessary anymore. It was also buggy for several reasons: due to a change in set_server_flag() this has actually been setting mode +G; and 484 is ERR_ISCHANSERVICE on other ircds. git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@233 13b04d17-f746-0410-82c6-800466cd88b0 --- Changelog | 3 +++ source/numbers.c | 7 ------- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/Changelog b/Changelog index 1dc6a2f..dbd1fac 100644 --- a/Changelog +++ b/Changelog @@ -1,5 +1,8 @@ [Changes 1.2c01] +* Remove special handling of 484 numeric, which is no longer needed and + was buggy (making BitchX think that usermode +G was set). (caf) + * Add /OBITS command, shows obituaries for some BitchX friends. (caf) * Fix abuses of the RESIZE macro. Reported by nenolod. (caf) diff --git a/source/numbers.c b/source/numbers.c index c1ccad1..4ce8253 100644 --- a/source/numbers.c +++ b/source/numbers.c @@ -1211,13 +1211,6 @@ void numbered_command(char *from, int comm, char **ArgList) break; } - case 484: - { - if (do_hook(current_numeric, "%s %s", from, ArgList[0])) - display_msg(from, ArgList); - set_server_flag(from_server, USER_MODE_R, 1); - break; - } case 903: /* SASL authentication successful */ case 904: /* SASL authentication failed */ case 905: /* SASL message too long */