move password reset into BootStrap

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@152 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
imaginos
2005-04-18 22:32:24 +00:00
parent b1c12d2fba
commit 4389fc0cea
2 changed files with 8 additions and 2 deletions

View File

@@ -20,6 +20,9 @@
*
*
* $Log$
* Revision 1.8 2005/04/18 22:32:24 imaginos
* move password reset into BootStrap
*
* Revision 1.7 2005/04/18 05:41:43 prozacx
* Added OnLoad() and print modname in error msg
*
@@ -98,7 +101,6 @@ public:
if ( !BootStrap() )
{
m_sPassword = "";
m_bBootError = true;
return( false );
}
@@ -128,6 +130,7 @@ public:
}
} else
{
m_sPassword = "";
CUtils::PrintError("[" + GetModName() + ".so] Failed to Decrypt Messages");
return( false );
}

View File

@@ -26,6 +26,9 @@
* better solution then plain text.
*
* $Log$
* Revision 1.9 2005/04/18 22:32:24 imaginos
* move password reset into BootStrap
*
* Revision 1.8 2005/04/18 17:26:23 imaginos
* ditch warning message
*
@@ -121,7 +124,6 @@ public:
if ( !BootStrap( vChans[a] ) )
{
m_bBootError = true;
m_sPassword = "";
return( false );
}
}
@@ -143,6 +145,7 @@ public:
}
} else
{
m_sPassword = "";
CUtils::PrintError("[" + GetModName() + ".so] Failed to Decrypt [" + pChan->GetName() + "]");
return( false );
}