Changeset 5760:8ecfc415d2ab in roaraudio
- Timestamp:
- 11/20/12 17:08:37 (11 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/roard/protocol-irc.c
r5617 r5760 402 402 size_t count; 403 403 struct channel * c; 404 c har * text = quit_msg;404 const char * text = quit_msg; 405 405 int client = event->target; 406 406 const char * ufull = get_ufull(client); … … 409 409 (void)core, (void)userdata; 410 410 411 if ( text == NULL ) {411 if ( text == NULL ) 412 412 text = "Client deleted. Died, kicked or internal error."; 413 } 414 415 put_printf(client, "ERROR :Closing Link: %s (Quit: %s)\n", ufull, text);416 417 418 419 413 414 if ( quit_msg != NULL ) 415 put_printf(client, "ERROR :Closing Link: %s (Quit: %s)\n", ufull, text); 416 417 count = get_listener_list(client, NULL, &listener); 418 for (; count; count--, listener++) 419 put_printf(*listener, ":%s QUIT :Quit: %s\n", ufull, text); 420 420 421 421 for (i = 0; i < MAX_CHANNELS; i++) {
Note: See TracChangeset
for help on using the changeset viewer.