Defines | |
#define | LIBIRC_OPTION_DEBUG (1 << 1) |
#define | LIBIRC_OPTION_STRIPNICKS (1 << 2) |
allows to strip origins automatically. | |
Functions | |
void | irc_option_set (irc_session_t *session, unsigned int option) |
Sets the libircclient option. | |
void | irc_option_reset (irc_session_t *session, unsigned int option) |
Resets the libircclient option. |
|
enables additional debug output |
|
allows to strip origins automatically. For every IRC server event, the event origin is sent in standard form: nick!host@ircserver, i.e. like tim!home@irc.krasnogorsk.ru. Such origins can not be used in IRC commands, and need to be stripped (i.e. host and server part should be cut off) before using. This can be done either explicitly, by calling irc_target_get_nick(), or implicitly for all the events - by setting this option with irc_option_set(). |
|
Resets the libircclient option.
|
|
Sets the libircclient option.
|