core: fix typos in comments
This commit is contained in:
parent
baf8f635ff
commit
daad558291
@ -776,7 +776,7 @@ gui_color_decode_ansi_cb (void *data, const char *text)
|
||||
|
||||
keep_colors = (data) ? 1 : 0;;
|
||||
|
||||
/* if we don't keep colors of if text is empty, just return empty string */
|
||||
/* if we don't keep colors or if text is empty, just return empty string */
|
||||
if (!keep_colors || !text || !text[0])
|
||||
return strdup ("");
|
||||
|
||||
|
@ -489,7 +489,7 @@ irc_color_decode_ansi_cb (void *data, const char *text)
|
||||
|
||||
ansi_state = (struct t_irc_color_ansi_state *)data;
|
||||
|
||||
/* if we don't keep colors of if text is empty, just return empty string */
|
||||
/* if we don't keep colors or if text is empty, just return empty string */
|
||||
if (!ansi_state->keep_colors || !text || !text[0])
|
||||
return strdup ("");
|
||||
|
||||
|
@ -311,7 +311,7 @@ irc_command_mode_masks (struct t_irc_server *server,
|
||||
sizeof (masks));
|
||||
|
||||
/*
|
||||
* if we reached the max number of modes allowed of if the mask doesn't
|
||||
* if we reached the max number of modes allowed or if the mask doesn't
|
||||
* fits in string, send the MODE command now and flush the modes/masks
|
||||
* strings
|
||||
*/
|
||||
|
@ -882,7 +882,7 @@ irc_redirect_message (struct t_irc_server *server, const char *message,
|
||||
if (match_stop || ptr_redirect->cmd_start_received)
|
||||
{
|
||||
/*
|
||||
* add message to output if matching stop of if command
|
||||
* add message to output if matching stop or if command
|
||||
* is numeric
|
||||
*/
|
||||
irc_redirect_message_add (ptr_redirect, message, command);
|
||||
|
Loading…
x
Reference in New Issue
Block a user