summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorTingPing <tngpng@gmail.com>2013-04-10 14:39:43 -0300
committerTingPing <tngpng@gmail.com>2013-04-10 14:39:43 -0300
commit6510e8961eae05313de652b479e35d00cf2bf95f (patch)
tree051c8b423664402a91151e7b949f2d8864b6c8d2
parent6e8b7367d7b20993d0eaa284bd59e112e342c9dd (diff)
Delete left over themes
-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"));

+                }

             }

         }