Merge pull request #226 from imo/develop

Correct argument order by using keyword for keepalive.
This commit is contained in:
Lance Stout 2013-03-06 22:15:26 -08:00
commit f76f0c3787

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.")