From 540f867f9bdf099e474a425fd4e9443a187fd8a0 Mon Sep 17 00:00:00 2001 From: psychon Date: Wed, 2 Dec 2009 18:16:19 +0000 Subject: [PATCH] Always prepend 'away :' to *all* away messages, not just the autoaway message. Consequence of *not* doing this - The following command will unexpectedly cause ZNC to disconnect from your IRC server: /query *away away quit Thanks to Jim Ramsay for finding this and providing a patch. git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1672 726aef4b-f618-498e-8847-2d620e286838 --- modules/away.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/away.cpp b/modules/away.cpp index 313df00d..be157e0b 100644 --- a/modules/away.cpp +++ b/modules/away.cpp @@ -309,8 +309,8 @@ public: sTime.Trim(); } if (m_sReason.empty()) - m_sReason = "away :Auto Away at " + sTime; - PutIRC(m_sReason); + m_sReason = "Auto Away at " + sTime; + PutIRC("AWAY :" + m_sReason); m_bIsAway = true; } }