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:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user