Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix CIRCNetwork::ExpandString()

It pretty much always returned an empty string (or rather: whatever was in the
return variable before, which is an empty string in 99% of cases).

Signed-off-by: Uli Schlachter <>
  • Loading branch information...
commit e029dded0d3c1fc6e733f38a9540660c189fa1b9 1 parent b07f37b
@psychon psychon authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  IRCNetwork.cpp
1  IRCNetwork.cpp
@@ -902,6 +902,7 @@ CString CIRCNetwork::ExpandString(const CString& sStr) const {
CString& CIRCNetwork::ExpandString(const CString& sStr, CString& sRet) const {
+ sRet = sStr;
sRet.Replace("%defnick%", GetNick());
sRet.Replace("%nick%", GetCurNick());
sRet.Replace("%altnick%", GetAltNick());
Please sign in to comment.
Something went wrong with that request. Please try again.