mirror of
https://github.com/znc/znc.git
synced 2026-08-09 10:23:14 +02:00
move Shutdown to OnShutdown, send DumpError to err as well
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@358 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
+2
-13
@@ -213,7 +213,7 @@ public:
|
||||
for( map<CString,CUser*>::const_iterator it = msUsers.begin(); it != msUsers.end(); it++ )
|
||||
{ // need to set it on all of these
|
||||
m_pUser = it->second;
|
||||
CBNone( "Shutdown" );
|
||||
CBNone( "OnShutdown" );
|
||||
m_pUser = NULL;
|
||||
}
|
||||
PerlInterpShutdown();
|
||||
@@ -268,6 +268,7 @@ public:
|
||||
sTmp[a] = ' ';
|
||||
}
|
||||
PutModule( sTmp );
|
||||
DEBUG_ONLY( cerr << sTmp << endl );
|
||||
}
|
||||
|
||||
TSocketManager<Csock> * GetSockManager() { return( m_pManager ); }
|
||||
@@ -990,18 +991,6 @@ bool CModPerl::OnLoad( const CString & sArgs )
|
||||
newCONSTSUB( pZNCSpace, "HALTMODS", newSViv( HALTMODS ) );
|
||||
newCONSTSUB( pZNCSpace, "HALTCORE", newSViv( HALTCORE ) );
|
||||
|
||||
/*
|
||||
* this goes away
|
||||
for( u_int a = 0; a < 255; a++ )
|
||||
{
|
||||
CString sModule = sArgs.Token( a );
|
||||
if ( sModule.empty() )
|
||||
break;
|
||||
|
||||
LoadPerlMod( sModule );
|
||||
}
|
||||
*/
|
||||
|
||||
return( true );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user