mirror of
https://github.com/znc/znc.git
synced 2026-08-07 09:22:55 +02:00
Replaced the GetNick().Equals() with NickEquals() where possible
Signed-off-by: Toon Schoenmakers <nighteyes1993@gmail.com>
This commit is contained in:
+2
-2
@@ -312,7 +312,7 @@ private:
|
||||
}
|
||||
|
||||
EModRet HandleMessage(const CNick& Nick, CString sMessage) {
|
||||
if (!Nick.GetNick().Equals("Q") || !Nick.GetHost().Equals("CServe.quakenet.org"))
|
||||
if (!Nick.NickEquals("Q") || !Nick.GetHost().Equals("CServe.quakenet.org"))
|
||||
return CONTINUE;
|
||||
|
||||
sMessage.Trim();
|
||||
@@ -418,7 +418,7 @@ private:
|
||||
}
|
||||
|
||||
bool IsSelf(const CNick& Nick) {
|
||||
return Nick.GetNick().Equals(m_pNetwork->GetCurNick());
|
||||
return Nick.NickEquals(m_pNetwork->GetCurNick());
|
||||
}
|
||||
|
||||
bool PackHex(const CString& sHex, CString& sPackedHex) {
|
||||
|
||||
Reference in New Issue
Block a user