summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/htm/Main.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/htm/Main.cs b/src/htm/Main.cs
index 8873d886..884b23f8 100644
--- a/src/htm/Main.cs
+++ b/src/htm/Main.cs
@@ -190,6 +190,10 @@ namespace thememan
                 {

                     File.Copy(Path.Combine(themedir, themelist.SelectedItem.ToString(), "pevents.conf"), Path.Combine(hexchatdir, "pevents.conf"), true);

                 }

+                else if (File.Exists(Path.Combine(hexchatdir, "pevents.conf")))

+                {

+                    File.Delete(Path.Combine(hexchatdir, "pevents.conf"));

+                }

             }

         }