diff options
| author | Adam <Adam@drink-coca-cola.info> | 2010-05-07 14:11:21 -0400 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2010-06-18 20:58:55 -0400 |
| commit | 9439cac6b126254bc488c2375b9e7ff5fd4fce74 (patch) | |
| tree | d0f6bba4de5b0a4131a6b91eb711b6bf1960def8 /src/core | |
| parent | a93be9ff1c417d73015fd53a9ee778ea2a642328 (diff) | |
Added m_ssl.cpp which allows Anope to use SSL when connecting to its uplink
Diffstat (limited to 'src/core')
| -rw-r--r-- | src/core/db_plain.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/db_plain.cpp b/src/core/db_plain.cpp index 65f936650..0ae6c47f8 100644 --- a/src/core/db_plain.cpp +++ b/src/core/db_plain.cpp @@ -556,8 +556,7 @@ class DBPlain : public Module void BackupDatabase() { /* Do not backup a database that doesn't exist */ - struct stat DBInfo; - if (stat(DatabaseFile.c_str(), &DBInfo)) + if (!IsFile(DatabaseFile)) { return; } |
