* added proper message and iq stanzas. presence left to do

This commit is contained in:
Nathan Fritz
2009-12-10 01:23:03 +00:00
parent 6be17ebbe2
commit 007b04dd30
6 changed files with 283 additions and 39 deletions

View File

@@ -37,7 +37,7 @@ import sys
import random
import copy
from . import plugins
from . import stanza
#from . import stanza
srvsupport = True
try:
import dns.resolver
@@ -87,6 +87,8 @@ class ClientXMPP(basexmpp, XMLStream):
#self.register_plugins()
def importStanzas(self):
pass
return
for modname in stanza.__all__:
__import__("%s.%s" % (globals()['stanza'].__name__, modname))
for register in getattr(stanza, modname).stanzas: