Replace Right(1)[0] with back()

This commit is contained in:
J-P Nurmi
2015-08-14 12:36:56 +02:00
parent 21ed56f46a
commit 6a6fbab342

View File

@@ -1393,7 +1393,7 @@ void CIRCSock::SendAltNick(const CString& sBadNick) {
return;
}
cLetter = sBadNick.Right(1)[0];
cLetter = sBadNick.back();
if (cLetter == 'z') {
m_pNetwork->PutUser("No free nick found");