mirror of
https://github.com/znc/znc.git
synced 2026-07-06 01:41:12 +02:00
Replaced the GetNick().Equals() with NickEquals() where possible
Signed-off-by: Toon Schoenmakers <nighteyes1993@gmail.com>
This commit is contained in:
@@ -142,7 +142,7 @@ protected:
|
||||
|
||||
// Is that person us and we don't have op?
|
||||
const CNick& pNick = Channel.GetNicks().begin()->second;
|
||||
if (!pNick.HasPerm(CChan::Op) && pNick.GetNick().Equals(m_pNetwork->GetCurNick())) {
|
||||
if (!pNick.HasPerm(CChan::Op) && pNick.NickEquals(m_pNetwork->GetCurNick())) {
|
||||
Channel.Cycle();
|
||||
m_recentlyCycled.AddItem(Channel.GetName());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user