mirror of
https://github.com/znc/znc.git
synced 2026-08-07 17:33:34 +02:00
Renamed IsNick to NickEquals
Also added a TODO to add proper IRC case comparing. Signed-off-by: Toon Schoenmakers <nighteyes1993@gmail.com>
This commit is contained in:
+3
-1
@@ -78,7 +78,9 @@ size_t CNick::GetCommonChans(vector<CChan*>& vRetChans, CIRCNetwork* pNetwork) c
|
||||
return vRetChans.size();
|
||||
}
|
||||
|
||||
bool CNick::IsNick(const CString& nickname) const {
|
||||
bool CNick::NickEquals(const CString& nickname) const {
|
||||
//TODO add proper IRC case mapping here
|
||||
//https://tools.ietf.org/html/draft-brocklesby-irc-isupport-03#section-3.1
|
||||
return m_sNick.Equals(nickname);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user