Correct nick recognition in mainurl.c as well. Closes #372.

This commit is contained in:
RichardHitt 2013-01-11 02:38:11 -08:00
parent 487ac0a011
commit 6c7346cdbe
1 changed files with 3 additions and 1 deletions

View File

@ -2311,7 +2311,9 @@ mg_word_clicked (GtkWidget *xtext, char *word, GdkEventButton *even)
menu_urlmenu (even, word); menu_urlmenu (even, word);
break; break;
case WORD_NICK: case WORD_NICK:
menu_nickmenu (sess, even, word + (ispunct (*word)? 1: 0), FALSE); word[end] = 0;
word += start;
menu_nickmenu (sess, even, word, FALSE);
break; break;
case WORD_CHANNEL: case WORD_CHANNEL:
menu_chanmenu (sess, even, word); menu_chanmenu (sess, even, word);