view doc/cipher-signals.dox @ 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 e0613cf8c493
children
line wrap: on
line source

/** @page cipher-signals Cipher Signals

 @signals
  @signal cipher-added
  @signal cipher-removed
 @endsignals

 @see cipher.h

 <hr>

 @signaldef cipher-added
  @signalproto
void (*cipher_added)(PurpleCipher *cipher);
  @endsignalproto
  @signaldesc
   Emitted when a cipher is added.
  @param cipher The cipher that was added.
 @endsignaldef

 @signaldef cipher-removed
  @signalproto
void (*cipher_removed)(PurpleCipher *cipher);
  @endsignalproto
  @signaldesc
   Emitted when a cipher is removed.
  @param cipher The cipher that was removed.
 @endsignaldef

 */
// vim: syntax=c.doxygen tw=75 et