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
This commit is contained in:
Kevin Easton
2013-02-25 12:22:54 +00:00
parent d7a0c781f8
commit 17e3a91f03
2 changed files with 3 additions and 7 deletions

View File

@@ -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)

View File

@@ -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 */