Changeset 7b59872 for irc_send.c


Ignore:
Timestamp:
2010-04-13T00:04:55Z (10 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
3a9b123
Parents:
89c11e7
Message:

Support for simple VERSION/PING CTCPs to root.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • irc_send.c

    r89c11e7 r7b59872  
    303303}
    304304
     305void irc_send_msg_f( irc_user_t *iu, const char *type, const char *dst, const char *format, ... )
     306{
     307        char text[IRC_MAX_LINE];
     308        va_list params;
     309       
     310        va_start( params, format );
     311        g_vsnprintf( text, IRC_MAX_LINE, format, params );
     312        va_end( params );
     313       
     314        irc_write( iu->irc, ":%s!%s@%s %s %s :%s",
     315                   iu->nick, iu->user, iu->host, type, dst, text );
     316}
     317
    305318void irc_send_nick( irc_user_t *iu, const char *new )
    306319{
Note: See TracChangeset for help on using the changeset viewer.