Remove some pointless if statements

This commit is contained in:
Kyle Fuller
2011-03-27 23:21:28 +01:00
parent e62ec2dc82
commit d735e9d881
7 changed files with 10 additions and 48 deletions

View File

@@ -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) {