diff --git a/User.cpp b/User.cpp index 41c26063..e3d27e7c 100644 --- a/User.cpp +++ b/User.cpp @@ -742,6 +742,7 @@ bool CUser::GetTimestampAppend() const { return m_bAppendTimestamp; } bool CUser::GetTimestampPrepend() const { return m_bPrependTimestamp; } bool CUser::IsValidUserName(const CString& sUserName) { + // /^[a-zA-Z][a-zA-Z@._\-]*$/ const char* p = sUserName.c_str(); if (sUserName.empty()) {