mirror of
https://github.com/znc/znc.git
synced 2026-07-04 08:51:14 +02:00
sync from my branch rev 983 and 993:
- module api change, if module fails to load it can give back an useful error message - give a message when client doesnt supply a password when connecting - some minor cleanup git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@803 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
+2
-2
@@ -287,7 +287,7 @@ public:
|
||||
}
|
||||
void UnSetUser() { m_pUser = NULL; }
|
||||
|
||||
virtual bool OnLoad( const CString & sArgs );
|
||||
virtual bool OnLoad( const CString & sArgs, CString & sErrorMsg );
|
||||
virtual void OnUserAttached() { CBNone( "OnUserAttached" ); }
|
||||
virtual void OnUserDetached() { CBNone( "OnUserDetached" ); }
|
||||
virtual void OnIRCDisconnected() { CBNone( "OnIRCDisconnected" ); }
|
||||
@@ -968,7 +968,7 @@ CModPerl::EModRet CModPerl::CallBack( const PString & sHookName, const VPString
|
||||
// special case this, required for perl modules that are dynamic
|
||||
EXTERN_C void boot_DynaLoader (pTHX_ CV* cv);
|
||||
|
||||
bool CModPerl::OnLoad( const CString & sArgs )
|
||||
bool CModPerl::OnLoad( const CString & sArgs, CString & sErrorMsg )
|
||||
{
|
||||
m_pPerl = perl_alloc();
|
||||
perl_construct( m_pPerl );
|
||||
|
||||
Reference in New Issue
Block a user