From 57b80b8d06b9728b151f53b97d192464158f40ad Mon Sep 17 00:00:00 2001 From: imaginos Date: Fri, 1 Apr 2005 08:55:41 +0000 Subject: [PATCH] keep things in synch git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@59 726aef4b-f618-498e-8847-2d620e286838 --- modules/away.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/modules/away.cpp b/modules/away.cpp index c7083a78..bfea1d77 100644 --- a/modules/away.cpp +++ b/modules/away.cpp @@ -20,6 +20,9 @@ * * * $Log$ + * Revision 1.3 2005/04/01 08:55:41 imaginos + * keep things in synch + * * Revision 1.2 2005/04/01 08:49:46 imaginos * woops actually delete the message * @@ -78,7 +81,9 @@ public: virtual void OnIRCConnected() { if( m_bIsAway ) - Away( true ); + Away( true ); // reset away if we are reconnected + else + Back(); // ircd seems to remember your away if you killed the client and came back } bool BootStrap()