Changeset 280c56a for irc.c


Ignore:
Timestamp:
2010-03-27T17:36:47Z (10 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
74f1cde
Parents:
2f53ada
Message:

Added privmsg handlers to users/channels. root commands are coming back.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • irc.c

    r2f53ada r280c56a  
    114114        iu->host = g_strdup( myhost );
    115115        iu->fullname = g_strdup( ROOT_FN );
     116        iu->f = &irc_user_root_funcs;
    116117       
    117118        iu = irc_user_new( irc, NS_NICK );
    118119        iu->host = g_strdup( myhost );
    119120        iu->fullname = g_strdup( ROOT_FN );
     121        iu->f = &irc_user_root_funcs;
    120122       
    121123        irc->user = g_new0( irc_user_t, 1 );
     
    594596                        irc->user->host = iu->host;
    595597                        irc->user->fullname = iu->fullname;
     598                        irc->user->f = &irc_user_self_funcs;
    596599                        g_free( iu->nick );
    597600                        g_free( iu );
Note: See TracChangeset for help on using the changeset viewer.