Small cleanup to calling of OnBoot() for user modules

There is no reason to call it indirectly and this should also
decrease the binary size a little.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@919 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
psychon
2008-01-08 19:48:45 +00:00
parent 5210c3bfae
commit cc20744683
3 changed files with 2 additions and 11 deletions
-8
View File
@@ -96,14 +96,6 @@ void CUser::DelClients() {
m_vClients.clear();
}
bool CUser::OnBoot() {
#ifdef _MODULES
return GetModules().OnBoot();
#else
return true;
#endif
}
void CUser::IRCConnected(CIRCSock* pIRCSock) {
for (unsigned int a = 0; a < m_vClients.size(); a++) {
m_vClients[a]->IRCConnected(pIRCSock);