CClient: share the chan matching code

This commit is contained in:
J-P Nurmi
2015-09-08 00:07:05 +02:00
parent 1a3e9ecb86
commit 7916efa997
3 changed files with 20 additions and 36 deletions
+3
View File
@@ -30,6 +30,7 @@ class CIRCNetwork;
class CIRCSock;
class CClient;
class CMessage;
class CChan;
// !Forward Declarations
class CAuthBase {
@@ -256,6 +257,8 @@ private:
void AddBuffer(const T& Message);
void EchoMessage(const CMessage& Message);
std::set<CChan*> MatchChans(const CString& sPatterns) const;
protected:
bool m_bGotPass;
bool m_bGotNick;