Use /FSET RELSN to format /RELSN relayed messages
The RELSN format already existed but wasn't used - instead it used SEND_NOTICE. The other relay types already used similar formats for their relayed messages. The default /FSET RELSN looks just like the default /FSET SEND_NOTICE so this shouldn't be noticeable to anyone using the defaults. This required updating the NOTICE-sending code to correctly stash the 'to' in the right place.
This commit is contained in:
@@ -1391,9 +1391,9 @@ BUILT_IN_COMMAND(do_dirlasttype)
|
||||
{
|
||||
/* ??? */
|
||||
t = &last_sent_notice[0]; size = MAX_LAST_MSG;
|
||||
form = fget_string_var(FORMAT_SEND_NOTICE_FSET);
|
||||
sform = "%s %s %s %s";
|
||||
numargs = 4;
|
||||
form = fget_string_var(FORMAT_RELSN_FSET);
|
||||
sform = "%s %s %s";
|
||||
numargs = 2;
|
||||
if (len > 5 && command[len-1] == 'T')
|
||||
what = TOPIC;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user