reset on_purpose var, when we manually change

our status to !offline
This commit is contained in:
Dimitur Kirov 2006-04-28 18:42:18 +00:00
parent 173c81ad8c
commit 87253c461a
1 changed files with 1 additions and 0 deletions

View File

@ -545,6 +545,7 @@ class Connection(ConnectionHandlers):
# set old_show to requested 'show' in case we need to
# recconect before we auth to server
self.old_show = show
self.on_purpose = False
self.connect_and_init(show, msg, signed)
elif show == 'offline' and self.connected: