Correct argument order by using keyword for keepalive.

This commit is contained in:
Patrick Horn 2013-03-06 21:35:07 -08:00
parent 44e2b5d945
commit 01abd6a705

View File

@ -106,7 +106,7 @@ class XEP_0199(BasePlugin):
def _keepalive(self, event=None):
log.debug("Keepalive ping...")
try:
rtt = self.ping(self.xmpp.boundjid.host, self.timeout)
rtt = self.ping(self.xmpp.boundjid.host, timeout=self.timeout)
except IqTimeout:
log.debug("Did not recieve ping back in time." + \
"Requesting Reconnect.")