mirror of
https://github.com/znc/znc.git
synced 2026-05-10 07:14:43 +02:00
Renamed IsNick to NickEquals
Also added a TODO to add proper IRC case comparing. Signed-off-by: Toon Schoenmakers <nighteyes1993@gmail.com>
This commit is contained in:
+3
-3
@@ -512,7 +512,7 @@ void CIRCSock::ReadLine(const CString& sData) {
|
||||
}
|
||||
}
|
||||
|
||||
if (Nick.IsNick(GetNick())) {
|
||||
if (Nick.NickEquals(GetNick())) {
|
||||
// We are changing our own nick, the clients always must see this!
|
||||
bIsVisible = false;
|
||||
SetNick(sNewNick);
|
||||
@@ -562,7 +562,7 @@ void CIRCSock::ReadLine(const CString& sData) {
|
||||
CString sChan = sRest.Token(0).TrimPrefix_n();
|
||||
CChan* pChan;
|
||||
|
||||
if (Nick.IsNick(GetNick())) {
|
||||
if (Nick.NickEquals(GetNick())) {
|
||||
m_pNetwork->AddChan(sChan, false);
|
||||
pChan = m_pNetwork->FindChan(sChan);
|
||||
if (pChan) {
|
||||
@@ -596,7 +596,7 @@ void CIRCSock::ReadLine(const CString& sData) {
|
||||
bDetached = true;
|
||||
}
|
||||
|
||||
if (Nick.IsNick(GetNick())) {
|
||||
if (Nick.NickEquals(GetNick())) {
|
||||
m_pNetwork->DelChan(sChan);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user