Add /FSET WHOIS_CALLERID for +g mode notification on hybrid & ratbox.
This is numeric 716. Hybrid shows it in WHOIS, and both show it when you try to PRIVMSG someone who is +g (similar to AWAY). So I've formatted it to match the WHOIS block. I also took the chance to fix up the ordering of the fsets, and remove a bunch of redundant setting of default values. git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@103 13b04d17-f746-0410-82c6-800466cd88b0
This commit is contained in:
@@ -1301,6 +1301,13 @@ void numbered_command(char *from, int comm, char **ArgList)
|
||||
display_msg(from, ArgList);
|
||||
}
|
||||
break;
|
||||
case 716: /* #define RPL_TARGUMODEG 716 */
|
||||
{
|
||||
/* hybrid / ratbox: <nick> :is in +g mode (server side ignore) */
|
||||
if (do_hook(current_numeric, "%s %s %s", from, ArgList[0], ArgList[1]))
|
||||
put_it("%s", convert_output_format(fget_string_var(FORMAT_WHOIS_CALLERID_FSET),"%s %s", ArgList[0], ArgList[1]));
|
||||
break;
|
||||
}
|
||||
case 365: /* #define RPL_ENDOFLINKS 365 */
|
||||
{
|
||||
if (get_int_var(LLOOK_VAR) && (get_server_linklook(from_server) == 1))
|
||||
|
||||
Reference in New Issue
Block a user