Skip to content
Browse files

Another cleanup

  • Loading branch information...
1 parent 5a8aac8 commit c847036537d92ab8548e8e5058ac8dfa6846acea @NewEraCracker committed
Showing with 7 additions and 4 deletions.
  1. +7 −4 frmMain.cs
View
11 frmMain.cs
@@ -22,7 +22,7 @@ public partial class frmMain : Form
private static bool intShowStats;
private static IrcClient irc;
private static Thread irclisten;
- private string channel;
+ private static string channel;
private static bool ircenabled = false;
private static Dictionary<string, string> OpList;
private delegate void CheckParamsDelegate(List<string> pars);
@@ -32,9 +32,12 @@ public frmMain(bool hive, bool hide, string ircserver, string ircport, string ir
InitializeComponent();
// IRC
- if ( !ircserver.Equals("") ) {txtIRCserver.Text = ircserver;}
- if ( !ircport.Equals("") ) {txtIRCport.Text = ircport;}
- if ( !ircchannel.Equals("") ) {txtIRCchannel.Text = ircchannel;}
+ if ( !ircserver.Equals("") )
+ txtIRCserver.Text = ircserver;
+ if ( !ircport.Equals("") )
+ txtIRCport.Text = ircport;
+ if ( !ircchannel.Equals("") )
+ txtIRCchannel.Text = ircchannel;
if ( hide )
{

0 comments on commit c847036

Please sign in to comment.
Something went wrong with that request. Please try again.