Changeset 7b71feb for irc_commands.c


Ignore:
Timestamp:
2010-05-13T23:34:38Z (14 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
4469e7e
Parents:
ad404ab
Message:

Just enough code to join named chatrooms again. This UI is *not* final, the "chat"
command will probably mostly stick around for bw compatibility. Still thinking
about how this should work eventually.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • irc_commands.c

    rad404ab r7b71feb  
    139139                return; /* Dude, you're already there...
    140140                           RFC doesn't have any reply for that though? */
     141       
     142        if( ic->f->join && !ic->f->join( ic ) )
     143                /* The story is: FALSE either means the handler showed an error
     144                   message, or is doing some work before the join should be
     145                   confirmed. (In the latter case, the caller should take care
     146                   of that confirmation.)
     147                   TRUE means all's good, let the user join the channel right away. */
     148                return;
    141149       
    142150        irc_channel_add_user( ic, irc->user );
Note: See TracChangeset for help on using the changeset viewer.