diff --git a/modules/savebuff.cpp b/modules/savebuff.cpp index b1e3b567..93a1ce37 100644 --- a/modules/savebuff.cpp +++ b/modules/savebuff.cpp @@ -26,6 +26,9 @@ * better solution then plain text. * * $Log$ + * Revision 1.5 2005/04/17 23:58:26 prozacx + * Added OnLoad() for setting pass from config + * * Revision 1.4 2005/04/17 23:46:06 prozacx * Upgraded output print msgs to new schema * @@ -81,6 +84,17 @@ public: } } + virtual bool OnLoad(const string& sArgs) + { + if (!sArgs.empty()) + { + m_sPassword = CBlowfish::MD5( sArgs ); + return( OnBoot() ); + } + + return true; + } + virtual bool OnBoot() { if ( m_sPassword.empty() )