Skip to content

Commit

Permalink
initialize int nIrcPort with dlgIRC::DefaultHostPort value. (Mudlet#1153
Browse files Browse the repository at this point in the history
)
  • Loading branch information
itsTheFae authored Jun 30, 2017
1 parent 01cd9ff commit 7684c0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dlgProfilePreferences.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1332,7 +1332,7 @@ void dlgProfilePreferences::slot_save_and_exit()
QString newIrcPort = ircHostPort->text();
QString newIrcChannels = ircChannels->text();
QStringList newChanList;
int nIrcPort;
int nIrcPort = dlgIRC::DefaultHostPort;
bool restartIrcClient = false;

if (newIrcHost.isEmpty()) {
Expand Down

0 comments on commit 7684c0e

Please sign in to comment.