Skip to content
This repository has been archived by the owner on Jan 9, 2024. It is now read-only.

Commit

Permalink
Version 1.1.1.14 - Minor code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
NewEraCracker committed Nov 29, 2010
1 parent 06b43b4 commit 79c3f3b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@

[assembly: Guid("312adafc-fdac-484b-84c5-5c5457e47f67")]

[assembly: AssemblyVersion("1.1.1.12")]
[assembly: AssemblyVersion("1.1.1.14")]
6 changes: 3 additions & 3 deletions frmMain.cs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ private void Attack(bool toggle, bool on, bool silent)
}
else { sHost = sIP; }
}
catch (Exception) { sHost = sIP; }
catch { sHost = sIP; }

iProtocol = 0;
sMethod = cbMethod.Text;
Expand Down Expand Up @@ -164,7 +164,7 @@ private void LockOnURL(bool silent)
if (sHost.StartsWith("https://")) sHost = sHost.Replace("https://", "http://");
else if (!sHost.StartsWith("http://")) sHost = String.Concat("http://", sHost);
try { txtTarget.Text = Dns.GetHostEntry(new Uri(sHost).Host).AddressList[0].ToString(); }
catch (Exception)
catch
{
if (silent) return;
new frmWtf().Show();
Expand All @@ -184,7 +184,7 @@ private void DoHive(bool enabled)
else if (enabled)
{
try { IPHostEntry ipHost = Dns.GetHostEntry(txtIRCserver.Text); }
catch (Exception) { disableHive.Checked = true; }
catch { disableHive.Checked = true; }
}
if (disableHive.Checked && enabled)
{
Expand Down

0 comments on commit 79c3f3b

Please sign in to comment.