mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
Replace Right(1)[0] with back()
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user