diff options
author | Tom Nichols <tmnichols@gmail.com> | 2010-05-12 16:51:14 -0400 |
---|---|---|
committer | Tom Nichols <tmnichols@gmail.com> | 2010-05-12 16:51:14 -0400 |
commit | 7552efee5c6d974087bc6883a5613d093ffd8bdc (patch) | |
tree | 0d6a09f011e70420caaa952141890c6925c6e5a7 /sleekxmpp/basexmpp.py | |
parent | 6bc6ebb95dedd6717fc9e2c4f8e0f9eadcaf80b5 (diff) | |
download | slixmpp-7552efee5c6d974087bc6883a5613d093ffd8bdc.tar.gz slixmpp-7552efee5c6d974087bc6883a5613d093ffd8bdc.tar.bz2 slixmpp-7552efee5c6d974087bc6883a5613d093ffd8bdc.tar.xz slixmpp-7552efee5c6d974087bc6883a5613d093ffd8bdc.zip |
some reconnetion fixes
Diffstat (limited to 'sleekxmpp/basexmpp.py')
-rw-r--r-- | sleekxmpp/basexmpp.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sleekxmpp/basexmpp.py b/sleekxmpp/basexmpp.py index fef8538a..b3247162 100644 --- a/sleekxmpp/basexmpp.py +++ b/sleekxmpp/basexmpp.py @@ -49,7 +49,7 @@ class basexmpp(object): self.resource = '' self.jid = '' self.username = '' - self.server = '' + self.domain = '' self.plugin = {} self.auto_authorize = True self.auto_subscribe = True @@ -84,7 +84,7 @@ class basexmpp(object): self.resource = self.getjidresource(jid) self.jid = self.getjidbare(jid) self.username = jid.split('@', 1)[0] - self.server = jid.split('@',1)[-1].split('/', 1)[0] + self.domain = jid.split('@',1)[-1].split('/', 1)[0] def registerPlugin(self, plugin, pconfig = {}): """Register a plugin not in plugins.__init__.__all__ but in the plugins |