diff options
author | TingPing <TingPing@users.noreply.github.com> | 2013-09-29 15:59:00 -0700 |
---|---|---|
committer | TingPing <TingPing@users.noreply.github.com> | 2013-09-29 15:59:00 -0700 |
commit | 83fcb52085be38176906a77d40c4fec981e7af46 (patch) | |
tree | 96ecf939a71cfd986763fc001f0963c1e9a5fda1 | |
parent | 247d84fbd1e2e9ebf2c472a30ac5a91cc7db82c0 (diff) | |
parent | 0791c8f0692a7bdc91b1fff9c407facd53b88a56 (diff) |
Merge pull request #775 from benburkhart1/master
Channel joiner dialog does not allow you to join a valid channel
-rw-r--r-- | src/fe-gtk/joind.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-gtk/joind.c b/src/fe-gtk/joind.c index dee64588..61ce8828 100644 --- a/src/fe-gtk/joind.c +++ b/src/fe-gtk/joind.c @@ -86,7 +86,7 @@ joind_ok_cb (GtkWidget *ok, server *serv) if (gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (serv->gui->joind_radio2))) { char *text = (char *)gtk_entry_get_text (GTK_ENTRY (serv->gui->joind_entry)); - if (strlen (text) < 2) + if (strlen (text) < 1) { fe_message (_("Channel name too short, try again."), FE_MSG_ERROR); return; |