mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
Remove some pointless if statements
This commit is contained in:
@@ -84,10 +84,7 @@ public:
|
||||
return false;
|
||||
if (!Nick.GetHostMask().AsLower().WildCmp(m_sHostMask.AsLower()))
|
||||
return false;
|
||||
if (!sText.AsLower().WildCmp(pUser->ExpandString(m_sPattern).AsLower()))
|
||||
return false;
|
||||
|
||||
return true;
|
||||
return (sText.AsLower().WildCmp(pUser->ExpandString(m_sPattern).AsLower()));
|
||||
}
|
||||
|
||||
bool operator ==(const CWatchEntry& WatchEntry) {
|
||||
|
||||
Reference in New Issue
Block a user