Micro-Optimizations
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1639 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
1 parent
d0a38e41ab
commit
ab71a24bba
2 files changed
+2
-4
No files matched your search
+1
-3
@@ -335,9 +335,7 @@ void CClient::UserCommand(CString& sLine) {
|
||||
return;
|
||||
}
|
||||
|
||||
const vector<CServer*>& vServers = m_pUser->GetServers();
|
||||
|
||||
if (vServers.size() <= 0) {
|
||||
if (!m_pUser->HasServers()) {
|
||||
PutStatus("You don't have any servers added.");
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user