From 5a278a8ecd3e62b7805902d084efab58abc33593 Mon Sep 17 00:00:00 2001 From: P Stark Date: Wed, 1 Jun 2016 10:02:46 +0200 Subject: [PATCH] add type declaration to the port parameter of the irc module. #AnsibleZH (#2349) --- notification/irc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notification/irc.py b/notification/irc.py index 95cd5bba8c2..92f285df241 100644 --- a/notification/irc.py +++ b/notification/irc.py @@ -247,7 +247,7 @@ def main(): module = AnsibleModule( argument_spec=dict( server=dict(default='localhost'), - port=dict(default=6667), + port=dict(type='int', default=6667), nick=dict(default='ansible'), nick_to=dict(required=False, type='list'), msg=dict(required=True),