Mercurial > pidgin
view libpurple/protocols/toc/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 | 441945083737 |
children | 2b62300d2c19 |
line wrap: on
line source
EXTRA_DIST = \ PROTOCOL \ Makefile.mingw pkgdir = $(libdir)/purple-$(PURPLE_MAJOR_VERSION) TOCSOURCES = toc.c AM_CFLAGS = $(st) libtoc_la_LDFLAGS = -module -avoid-version if STATIC_TOC st = -DPURPLE_STATIC_PRPL noinst_LIBRARIES = libtoc.a libtoc_a_SOURCES = $(TOCSOURCES) libtoc_a_CFLAGS = $(AM_CFLAGS) else st = pkg_LTLIBRARIES = libtoc.la libtoc_la_SOURCES = $(TOCSOURCES) endif AM_CPPFLAGS = \ -I$(top_srcdir)/libpurple \ -I$(top_builddir)/libpurple \ $(GLIB_CFLAGS) \ $(DEBUG_CFLAGS)