Implemented a nick compare function

As suggested by the todos in IRCSock, added IsNick(CString) method
so the ugly Nick.GetNick().Equals(GetNick()) could be simplified.

Signed-off-by: Toon Schoenmakers <nighteyes1993@gmail.com>
This commit is contained in:
Toon Schoenmakers
2013-10-10 17:22:16 +02:00
parent b7ce935cb3
commit 83b9a28e4c
3 changed files with 8 additions and 6 deletions
+1
View File
@@ -37,6 +37,7 @@ public:
void Parse(const CString& sNickMask);
CString GetHostMask() const;
size_t GetCommonChans(std::vector<CChan*>& vChans, CIRCNetwork* pNetwork) const;
bool IsNick(const CString& nickname) const;
// Setters
void SetNetwork(CIRCNetwork* pNetwork);