mirror of
https://github.com/znc/znc.git
synced 2026-05-09 23:04:47 +02:00
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 <i.am@jimramsay.com> for finding this and providing a patch. git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1672 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
+2
-2
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user