Messages sent by /SV and /PASTE should be logged in the send log

This looks like an oversight.
This commit is contained in:
Kevin Easton
2017-07-09 00:14:15 +10:00
parent bb616e0626
commit dbd37bc35d
2 changed files with 4 additions and 2 deletions

View File

@@ -1,5 +1,7 @@
[Changes 1.2.2] [Changes 1.2.2]
* Messages sent by /SV and /PASTE should be logged in the send log. (caf)
* Change send_text() to combine command, hook and log arguments into one * Change send_text() to combine command, hook and log arguments into one
set of flags. (caf) set of flags. (caf)

View File

@@ -933,7 +933,7 @@ BUILT_IN_COMMAND(show_version)
nick = next_arg(args, &args); nick = next_arg(args, &args);
else else
nick = get_current_channel_by_refnum(0); nick = get_current_channel_by_refnum(0);
send_text(nick, version_buf, 0); send_text(nick, version_buf, STXT_LOG);
new_free(&version_buf); new_free(&version_buf);
} }
@@ -1979,7 +1979,7 @@ BUILT_IN_COMMAND(pastecmd)
if (start_pos && start_pos->line) if (start_pos && start_pos->line)
{ {
if (do_hook(PASTE_LIST, "%s %s", channel, start_pos->line)) if (do_hook(PASTE_LIST, "%s %s", channel, start_pos->line))
send_text(channel, convert_output_format(fget_string_var(FORMAT_PASTE_FSET),"%s %d %s", channel, line, start_pos->line), 0); send_text(channel, convert_output_format(fget_string_var(FORMAT_PASTE_FSET),"%s %d %s", channel, line, start_pos->line), STXT_LOG);
start_pos = start_pos->next; start_pos = start_pos->next;
} }
count--; count--;