1
0
mirror of https://github.com/moparisthebest/hexchat synced 2024-11-26 03:02:17 -05:00

Merge pull request #775 from benburkhart1/master

Channel joiner dialog does not allow you to join a valid channel
This commit is contained in:
TingPing 2013-09-29 15:59:00 -07:00
commit 83fcb52085

View File

@ -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;