reset on_purpose var, when we manually change
our status to !offline
This commit is contained in:
parent
173c81ad8c
commit
87253c461a
1 changed files with 1 additions and 0 deletions
|
@ -545,6 +545,7 @@ class Connection(ConnectionHandlers):
|
||||||
# set old_show to requested 'show' in case we need to
|
# set old_show to requested 'show' in case we need to
|
||||||
# recconect before we auth to server
|
# recconect before we auth to server
|
||||||
self.old_show = show
|
self.old_show = show
|
||||||
|
self.on_purpose = False
|
||||||
self.connect_and_init(show, msg, signed)
|
self.connect_and_init(show, msg, signed)
|
||||||
|
|
||||||
elif show == 'offline' and self.connected:
|
elif show == 'offline' and self.connected:
|
||||||
|
|
Loading…
Add table
Reference in a new issue