parent
0a87e43aff
commit
635c28820d
16
degesch.c
16
degesch.c
|
@ -901,7 +901,7 @@ buffer_line_display (struct app_context *ctx, struct buffer_line *line)
|
||||||
char *nick = NULL;
|
char *nick = NULL;
|
||||||
const char *userhost = NULL;
|
const char *userhost = NULL;
|
||||||
|
|
||||||
if (who)
|
if (*who)
|
||||||
{
|
{
|
||||||
nick = irc_cut_nickname (who);
|
nick = irc_cut_nickname (who);
|
||||||
userhost = irc_find_userhost (who);
|
userhost = irc_find_userhost (who);
|
||||||
|
@ -919,14 +919,14 @@ buffer_line_display (struct app_context *ctx, struct buffer_line *line)
|
||||||
str_append_printf (&text, " - Notice(%s): %s", nick, object);
|
str_append_printf (&text, " - Notice(%s): %s", nick, object);
|
||||||
break;
|
break;
|
||||||
case BUFFER_LINE_JOIN:
|
case BUFFER_LINE_JOIN:
|
||||||
if (who)
|
if (*who)
|
||||||
str_append_printf (&text, "--> %s (%s) has joined %s",
|
str_append_printf (&text, "--> %s (%s) has joined %s",
|
||||||
nick, userhost, object);
|
nick, userhost, object);
|
||||||
else
|
else
|
||||||
str_append_printf (&text, "--> You have joined %s", object);
|
str_append_printf (&text, "--> You have joined %s", object);
|
||||||
break;
|
break;
|
||||||
case BUFFER_LINE_PART:
|
case BUFFER_LINE_PART:
|
||||||
if (who)
|
if (*who)
|
||||||
str_append_printf (&text, "<-- %s (%s) has left %s (%s)",
|
str_append_printf (&text, "<-- %s (%s) has left %s (%s)",
|
||||||
nick, userhost, object, reason);
|
nick, userhost, object, reason);
|
||||||
else
|
else
|
||||||
|
@ -934,7 +934,7 @@ buffer_line_display (struct app_context *ctx, struct buffer_line *line)
|
||||||
object, reason);
|
object, reason);
|
||||||
break;
|
break;
|
||||||
case BUFFER_LINE_KICK:
|
case BUFFER_LINE_KICK:
|
||||||
if (who)
|
if (*who)
|
||||||
str_append_printf (&text, "<-- %s has kicked %s (%s)",
|
str_append_printf (&text, "<-- %s has kicked %s (%s)",
|
||||||
nick, object, reason);
|
nick, object, reason);
|
||||||
else
|
else
|
||||||
|
@ -942,14 +942,14 @@ buffer_line_display (struct app_context *ctx, struct buffer_line *line)
|
||||||
object, reason);
|
object, reason);
|
||||||
break;
|
break;
|
||||||
case BUFFER_LINE_NICK:
|
case BUFFER_LINE_NICK:
|
||||||
if (who)
|
if (*who)
|
||||||
str_append_printf (&text, "<-- %s is now known as %s",
|
str_append_printf (&text, " - %s is now known as %s",
|
||||||
nick, object);
|
nick, object);
|
||||||
else
|
else
|
||||||
str_append_printf (&text, "<-- You are now known as %s", object);
|
str_append_printf (&text, " - You are now known as %s", object);
|
||||||
break;
|
break;
|
||||||
case BUFFER_LINE_QUIT:
|
case BUFFER_LINE_QUIT:
|
||||||
if (who)
|
if (*who)
|
||||||
str_append_printf (&text, "<-- %s (%s) has quit (%s)",
|
str_append_printf (&text, "<-- %s (%s) has quit (%s)",
|
||||||
nick, userhost, reason);
|
nick, userhost, reason);
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue