fix module name

This commit is contained in:
Yann Leboulanger 2012-12-16 18:29:59 +01:00
parent 8bbe25ce74
commit ebb901045a
1 changed files with 1 additions and 1 deletions

View File

@ -813,7 +813,7 @@ class EncryptedStanzaSession(ArchivingStanzaSession):
# the offset of the group we chose (need it to match up with the dhhash)
group_order = 0
self.modp = int(form.getField('modp').getOptions()[group_order][1])
x.addChild(node=xmpp.DataField(name='modp', value=self.modp))
x.addChild(node=nbxmpp.DataField(name='modp', value=self.modp))
g = dh.generators[self.modp]
p = dh.primes[self.modp]