Changeset fc630f9 for irc.c


Ignore:
Timestamp:
2006-05-23T08:31:04Z (18 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
1c8a7a2, 601e813, 936ded6
Parents:
a9ca7dd
Message:

Silenced all compiler warnings that appeared after previous commit.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • irc.c

    ra9ca7dd rfc630f9  
    830830                        irc_reply( irc, 332, "%s :BitlBee groupchat: \"%s\". Please keep in mind that root-commands won't work here. Have fun!", channel, c->title );
    831831                else
    832                         irc_reply( irc, 331, "%s :No topic for this channel" );
     832                        irc_reply( irc, 331, "%s :No topic for this channel", channel );
    833833        }
    834834}
     
    886886        if( g_hash_table_lookup( irc->watches, nick ) )
    887887        {
    888                 irc_reply( irc, 600, "%s %s %s %d :%s", u->nick, u->user, u->host, time( NULL ), "logged online" );
     888                irc_reply( irc, 600, "%s %s %s %d :%s", u->nick, u->user, u->host, (int) time( NULL ), "logged online" );
    889889        }
    890890        g_free( nick );
     
    911911        if( g_hash_table_lookup( irc->watches, nick ) )
    912912        {
    913                 irc_reply( irc, 601, "%s %s %s %d :%s", u->nick, u->user, u->host, time( NULL ), "logged offline" );
     913                irc_reply( irc, 601, "%s %s %s %d :%s", u->nick, u->user, u->host, (int) time( NULL ), "logged offline" );
    914914        }
    915915        g_free( nick );
Note: See TracChangeset for help on using the changeset viewer.