mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fix module params assignment in jabber module (#25850)
Fix corrects variable assignment from module params Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
parent
8edcef7a84
commit
561d678f52
1 changed files with 1 additions and 1 deletions
|
@ -137,7 +137,7 @@ def main():
|
||||||
else:
|
else:
|
||||||
host = server
|
host = server
|
||||||
if module.params['encoding']:
|
if module.params['encoding']:
|
||||||
xmpp.simplexml.ENCODING = params['encoding']
|
xmpp.simplexml.ENCODING = module.params['encoding']
|
||||||
|
|
||||||
msg = xmpp.protocol.Message(body=module.params['msg'])
|
msg = xmpp.protocol.Message(body=module.params['msg'])
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue