]> code.delx.au - pymsnt/commitdiff
Fixed jid.internJID that somehow slipped through
authorjamesbunton <jamesbunton@55fbd22a-6204-0410-b2f0-b6c764c7e90a>
Thu, 10 Aug 2006 07:36:41 +0000 (07:36 +0000)
committerjamesbunton <jamesbunton@55fbd22a-6204-0410-b2f0-b6c764c7e90a>
Thu, 10 Aug 2006 07:36:41 +0000 (07:36 +0000)
git-svn-id: http://delx.cjb.net/svn/pymsnt/trunk@222 55fbd22a-6204-0410-b2f0-b6c764c7e90a

committer: jamesbunton <jamesbunton@55fbd22a-6204-0410-b2f0-b6c764c7e90a>

src/register.py

index 603aa5c941a6f3b406c9206ff98601266ac3b121..aaca74d2678a5b8565fdae10c5f48ab51784ea1a 100644 (file)
@@ -134,7 +134,7 @@ class RegisterManager:
                                LogEvent(INFO, "", "Updated XDB")
                                self.successReply(incoming)
                                LogEvent(INFO, "", "Sent a result Iq")
-                               (user, host, res) = jid.internJID(incoming.getAttribute("from"))
+                               (user, host, res) = internJID(incoming.getAttribute("from"))
                                jabw.sendPresence(self.pytrans, to=user + "@" + host, fro=config.jid, ptype="subscribe")
                                if(config.registerMessage):
                                        jabw.sendMessage(self.pytrans, to=incoming.getAttribute("from"), fro=config.jid, body=config.registerMessage)