Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Don't expand ~ in ISpoofFile

This way, we can write the original value back to the config. Also, this "fixes"
a bug because webadmin didn't do this step.

Signed-off-by: Uli Schlachter <psychon@znc.in>
  • Loading branch information...
commit cd7822548266ab9d88781599e041866a92234b29 1 parent 080bf67
@psychon psychon authored
Showing with 0 additions and 4 deletions.
  1. +0 −4 znc.cpp
View
4 znc.cpp
@@ -1650,10 +1650,6 @@ bool CZNC::DoRehash(CString& sError)
m_sISpoofFormat = sValue;
continue;
} else if (sName.Equals("ISpoofFile")) {
- if (sValue.Left(2) == "~/") {
- sValue.LeftChomp(2);
- sValue = GetHomePath() + "/" + sValue;
- }
m_sISpoofFile = sValue;
continue;
} else if (sName.Equals("MOTD")) {
Please sign in to comment.
Something went wrong with that request. Please try again.