diff options
author | TingPing <tngpng@gmail.com> | 2013-04-10 14:39:43 -0300 |
---|---|---|
committer | TingPing <tngpng@gmail.com> | 2013-04-10 14:39:43 -0300 |
commit | 6510e8961eae05313de652b479e35d00cf2bf95f (patch) | |
tree | 051c8b423664402a91151e7b949f2d8864b6c8d2 /src/htm | |
parent | 6e8b7367d7b20993d0eaa284bd59e112e342c9dd (diff) |
Delete left over themes
Diffstat (limited to 'src/htm')
-rw-r--r-- | src/htm/Main.cs | 4 |
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")); + } } } |