Mercurial > pidgin
view libpurple/protocols/jabber/JEPS @ 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 | 5fe8042783c1 |
children | 1c542f86dbcf |
line wrap: on
line source
0045: IN PROGRESS Multi-User Chat 0047: IN PROGRESS In-Band Bytestreams 0060: NEED Pub-Sub 0071: AWAITING FINAL SPEC XHTML-IM 0073: NEED Basic IM Protocol Suite 0080: NEED (Do we?) Geographic Location Information 0084: NEED User Avatars in Jabber 0085: NEED Chat State Notifications 0089: WATCH Generic Alerts 0093: NEED Roster Item Exchange 0100: NEED Gateway Interaction (Transports) 0115: WATCH Client Capabilities 0117: NEED Intermediate IM Protocol Suite