make NOTICE capable of sending to multiple targets
This commit is contained in:
parent
ee20a5e5d6
commit
787dbe9d57
|
@ -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 |>
|
||||
|
|
Loading…
Reference in New Issue