diff options
| author | 2022-09-12 23:19:27 +0100 | |
|---|---|---|
| committer | 2022-09-12 23:26:22 +0100 | |
| commit | 023e3bd22e288a288ad0bd1cc9fd04b7773cab61 (patch) | |
| tree | 3eb7c03af3c9331e5eb4650f12a5f12e8191390e /src/modules/m_permchannels.cpp | |
| parent | Make internal penalty be specified in millisecs instead of seconds. (diff) | |
| parent | Send ERR_NONICKNAMEGIVEN when an empty nick is given in WHOIS/WHOWAS. (diff) | |
Merge branch 'insp3' into master.
Diffstat (limited to 'src/modules/m_permchannels.cpp')
| -rw-r--r-- | src/modules/m_permchannels.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_permchannels.cpp b/src/modules/m_permchannels.cpp index 24f467ac8..5c875071a 100644 --- a/src/modules/m_permchannels.cpp +++ b/src/modules/m_permchannels.cpp @@ -73,7 +73,7 @@ static bool WriteDatabase(PermChannel& permchanmode, Module* mod, bool save_list if (permchannelsconf.empty()) return true; - std::string permchannelsnewconf = permchannelsconf + ".tmp"; + const std::string permchannelsnewconf = permchannelsconf + ".new." + ConvToStr(ServerInstance->Time()); std::ofstream stream(permchannelsnewconf); if (!stream.is_open()) { |
