diff --git a/Changelog b/Changelog index 674c410..a6d61d6 100644 --- a/Changelog +++ b/Changelog @@ -1,5 +1,7 @@ [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 set of flags. (caf) diff --git a/source/commands2.c b/source/commands2.c index dda2583..50f58eb 100644 --- a/source/commands2.c +++ b/source/commands2.c @@ -933,7 +933,7 @@ BUILT_IN_COMMAND(show_version) nick = next_arg(args, &args); else nick = get_current_channel_by_refnum(0); - send_text(nick, version_buf, 0); + send_text(nick, version_buf, STXT_LOG); new_free(&version_buf); } @@ -1979,7 +1979,7 @@ BUILT_IN_COMMAND(pastecmd) if (start_pos && 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; } count--;