make NOTICE capable of sending to multiple targets

This commit is contained in:
tali 2024-01-31 19:04:22 -05:00
parent ee20a5e5d6
commit 787dbe9d57
1 changed files with 1 additions and 1 deletions

View File

@ -963,7 +963,7 @@ let split_command_params cmd params =
String.split_on_char ',' tgts |>
List.map (fun tgt -> "JOIN", tgt :: rest)
| ("PRIVMSG" | "NAMES" | "PART"), tgts :: rest
| ("PRIVMSG" | "NOTICE" | "NAMES" | "PART"), tgts :: rest
when String.contains tgts ',' ->
(* TODO: "JOIN" should be handled specially *)
String.split_on_char ',' tgts |>