mirror of https://github.com/ansible/ansible.git
Don't send JOIN and PART commands if channel is not set (#62334)
Currently, the irc module is sending JOIN and PART commands even if the channel key is not set in the irc module. This causes the module to send JOIN and PART commands to the #None channel. This module can send PRIVMSGs to either a channel or a list of nicks, so sending JOIN and PART doesn't make sense in cases where channel is undefined. The same goes for the TOPIC command, which is used to set a topic for channels. This patch ensures that the JOIN, PART and TOPIC commands are only sent if the channel is defined.pull/67442/head
parent
cc86748109
commit
807f4ea658
Loading…
Reference in New Issue