Replaced the GetNick().Equals() with NickEquals() where possible

Signed-off-by: Toon Schoenmakers <nighteyes1993@gmail.com>
This commit is contained in:
Toon Schoenmakers
2013-10-10 22:35:49 +02:00
parent 9166f5a250
commit 98ceafb1ba
7 changed files with 15 additions and 15 deletions
+2 -2
View File
@@ -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) {