Mercurial > pidgin
view doc/plugin-signals.dox @ 32777:3b1070cb4f29
jabber: Validate user moods, and make the /mood cmd behave flexibly.
A user in Pidgin running "/mood ?" or "/mood -" would result in invalid
XML being sent to the server (similar to #14342, except '<-/>' or '<?/>').
Prevent this by ensuring the user is specifying something from the list.
The /mood command will also now try to treat its entire arguments as
a single string, and set that as the mood -- I figure this is what a
user would expect?
author | Paul Aurich <paul@darkrain42.org> |
---|---|
date | Wed, 23 May 2012 05:01:14 +0000 |
parents | e0613cf8c493 |
children |
line wrap: on
line source
/** @page plugin-signals Plugin Signals @signals @signal plugin-load @signal plugin-unload @endsignals @see plugin.h <hr> @signaldef plugin-load @signalproto void (*plugin_load)(PurplePlugin *plugin); @endsignalproto @signaldesc Emitted when a plugin is loaded. @param plugin The plugin that was loaded. @endsignaldef @signaldef plugin-unload @signalproto void (*plugin_unload)(PurplePlugin *plugin); @endsignalproto @signaldesc Emitted when a plugin is unloaded. @param plugin The plugin that was unloaded. @endsignaldef */ // vim: syntax=c.doxygen tw=75 et