mirror of
https://github.com/znc/znc.git
synced 2026-08-07 01:13:25 +02:00
Changed DataPath to SavePath
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@587 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
+1
-1
@@ -692,7 +692,7 @@ XS(XS_ZNC_GetString)
|
||||
else if ( sName == "DLPath" ) sReturn = pUser->GetDLPath();
|
||||
else if ( sName == "ModPath" ) sReturn = CZNC::Get().GetModPath();
|
||||
else if ( sName == "HomePath" ) sReturn = CZNC::Get().GetHomePath();
|
||||
//else if ( sName == "DataPath" ) sReturn = pUser->GetDataPath();
|
||||
else if ( sName == "SavePath" ) sReturn = g_ModPerl->GetSavePath();
|
||||
else if ( sName == "StatusPrefix" ) sReturn = pUser->GetStatusPrefix();
|
||||
else if ( sName == "DefaultChanModes" ) sReturn = pUser->GetDefaultChanModes();
|
||||
else if ( sName == "IRCServer" ) sReturn = pUser->GetIRCServer();
|
||||
|
||||
+1
-1
@@ -59,7 +59,7 @@ sub CORELoadMod
|
||||
return( HALTMODS() );
|
||||
}
|
||||
|
||||
my $DPath = GetString( "DataPath" );
|
||||
my $DPath = GetString( "SavePath" );
|
||||
my $FileName = $DPath . "/." . $Username . $Module . ".pm";
|
||||
|
||||
if ( !open( INMOD, $ModPath ) )
|
||||
|
||||
Reference in New Issue
Block a user