Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • log.c

    rc92e6801 r22d41a2  
    134134static void log_irc(int level, char *message) {
    135135        if(level==LOGLVL_ERROR)
    136                 irc_write_all("ERROR :Error: %s", message);
     136                irc_write_all(1, "ERROR :Error: %s", message);
    137137        if(level==LOGLVL_WARNING)
    138                 irc_write_all("ERROR :Warning: %s", message);
     138                irc_write_all(0, "ERROR :Warning: %s", message);
    139139        if(level==LOGLVL_INFO)
    140                 irc_write_all("ERROR :Informational: %s", message);     
     140                irc_write_all(0, "ERROR :Informational: %s", message); 
    141141#ifdef DEBUG
    142142        if(level==LOGLVL_DEBUG)
    143                 irc_write_all("ERROR :Debug: %s", message);     
     143                irc_write_all(0, "ERROR :Debug: %s", message); 
    144144#endif 
    145145
Note: See TracChangeset for help on using the changeset viewer.