Changeset 68b50b5f


Ignore:
Timestamp:
2005-11-08T23:06:46Z (14 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
21d09ac
Parents:
2095c57 (diff), 9c62a7c (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

QUIT now works before logging in too

Files:
1 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • irc.c

    r2095c57 r68b50b5f  
    162162        if( irc->w_watch_source_id > 0 )
    163163                g_source_remove( irc->w_watch_source_id );
    164         g_io_channel_close( irc->io_channel );
     164       
    165165        g_io_channel_unref( irc->io_channel );
    166166        irc_connection_list = g_slist_remove( irc_connection_list, irc );
     
    462462                }
    463463                return( 1 );
     464        }
     465        else if( g_strcasecmp( cmd[0], "QUIT" ) == 0 )
     466        {
     467                irc_write( irc, "ERROR :%s%s", cmd[1]?"Quit: ":"", cmd[1]?cmd[1]:"Client Quit" );
     468                g_io_channel_close( irc->io_channel );
     469                return( 0 );
    464470        }
    465471       
     
    637643                }
    638644        }
    639         else if( g_strcasecmp( cmd[0], "QUIT" ) == 0 )
    640         {
    641                 irc_write( irc, "ERROR :%s%s", cmd[1]?"Quit: ":"", cmd[1]?cmd[1]:"Client Quit" );
    642                 g_io_channel_close( irc->io_channel );
    643                 return( 0 );
    644         }
    645645        else if( g_strcasecmp( cmd[0], "WHO" ) == 0 )
    646646        {
  • protocols/oscar/aim_internal.h

    r2095c57 r68b50b5f  
    107107
    108108void aim_initsnachash(aim_session_t *sess);
    109 aim_snacid_t aim_newsnac(aim_session_t *, aim_snac_t *newsnac);
    110109aim_snacid_t aim_cachesnac(aim_session_t *sess, const guint16 family, const guint16 type, const guint16 flags, const void *data, const int datalen);
    111110aim_snac_t *aim_remsnac(aim_session_t *, aim_snacid_t id);
  • protocols/oscar/snac.c

    r2095c57 r68b50b5f  
    1414
    1515#include <aim.h>
     16
     17static aim_snacid_t aim_newsnac(aim_session_t *sess, aim_snac_t *newsnac);
    1618
    1719/*
     
    5153 * list/hash.
    5254 */
    53 aim_snacid_t aim_newsnac(aim_session_t *sess, aim_snac_t *newsnac)
     55static aim_snacid_t aim_newsnac(aim_session_t *sess, aim_snac_t *newsnac)
    5456{
    5557        aim_snac_t *snac;
Note: See TracChangeset for help on using the changeset viewer.