Mercurial > pidgin
view libpurple/tests/Makefile.am @ 24353:c204239bef48
Strip multiple leading mode characters from incoming nicknames.
This patch adds the function irc_nick_skip_mode, which takes an IRC
connection and nickname, and returns a pointer internal to the
nickname representing the first non-mode-character of the nick.
Apparently some IRC servers prepend more than one mode character to
nicknames under some circumstances; the standard is pretty vague on
the matter, and I can't see as how it hurts anything, so here goes.
This patch was originally from Marcos Garc«ża Ochoa.
Fixes #7416
committer: Ethan Blanton <elb@pidgin.im>
author | Marcos García Ochoa <magao@bigfoot.com> |
---|---|
date | Fri, 31 Oct 2008 14:51:11 +0000 |
parents | b8774519bda0 |
children | b0f0579f5f22 |
line wrap: on
line source
if HAVE_CHECK TESTS=check_libpurple clean-local: -rm -rf libpurple.. check_PROGRAMS=check_libpurple check_libpurple_SOURCES=\ check_libpurple.c \ tests.h \ test_cipher.c \ test_jabber_jutil.c \ test_util.c \ $(top_builddir)/libpurple/util.h check_libpurple_CFLAGS=\ @CHECK_CFLAGS@ \ $(GLIB_CFLAGS) \ $(DEBUG_CFLAGS) \ -I.. \ -I$(top_srcdir)/libpurple \ -DBUILDDIR=\"$(top_builddir)\" check_libpurple_LDADD=\ @CHECK_LIBS@ \ $(GLIB_LIBS) \ $(top_builddir)/libpurple/protocols/jabber/libjabber.la \ $(top_builddir)/libpurple/libpurple.la endif