- Timestamp:
- 2005-11-18T19:10:20Z (19 years ago)
- Branches:
- master
- Children:
- d908e3a
- Parents:
- 517ecc4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
log.c
r517ecc4 r22d41a2 134 134 static void log_irc(int level, char *message) { 135 135 if(level==LOGLVL_ERROR) 136 irc_write_all( "ERROR :Error: %s", message);136 irc_write_all(1, "ERROR :Error: %s", message); 137 137 if(level==LOGLVL_WARNING) 138 irc_write_all( "ERROR :Warning: %s", message);138 irc_write_all(0, "ERROR :Warning: %s", message); 139 139 if(level==LOGLVL_INFO) 140 irc_write_all( "ERROR :Informational: %s", message);140 irc_write_all(0, "ERROR :Informational: %s", message); 141 141 #ifdef DEBUG 142 142 if(level==LOGLVL_DEBUG) 143 irc_write_all( "ERROR :Debug: %s", message);143 irc_write_all(0, "ERROR :Debug: %s", message); 144 144 #endif 145 145
Note: See TracChangeset
for help on using the changeset viewer.