Fix error in stanza handler registration in XEP-0092.

This commit is contained in:
Lance Stout 2011-03-18 17:30:29 -04:00
parent 996ca52471
commit 450c313340

View file

@ -42,7 +42,7 @@ class xep_0092(base_plugin):
self.xmpp.register_handler( self.xmpp.register_handler(
Callback('Software Version', Callback('Software Version',
StanzaPath('iq@=get/software_version'), StanzaPath('iq@type=get/software_version'),
self._handle_version)) self._handle_version))
register_stanza_plugin(Iq, Version) register_stanza_plugin(Iq, Version)