summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--NEWS1
-rw-r--r--src/irc/core/irc-servers.c5
2 files changed, 5 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index b911c694..73484f9f 100644
--- a/NEWS
+++ b/NEWS
@@ -8,6 +8,7 @@ v0.8.13
+ Display 407 numerics other than "duplicate channel".
+ Fix display of ratbox-style operspy whois.
+ Recode outgoing irc away messages (bug #412).
+ + Recode outgoing irc quit messages.
+ Remove scrollback_levelclear_levels setting and add a 'level' option
to 'sb levelclear' to specify a comma separated list of levels.
+ Add perl __WARN__ handler for scripts (bug #427).
diff --git a/src/irc/core/irc-servers.c b/src/irc/core/irc-servers.c
index c1b74274..ebfac1e8 100644
--- a/src/irc/core/irc-servers.c
+++ b/src/irc/core/irc-servers.c
@@ -336,14 +336,17 @@ static void sig_disconnected(IRC_SERVER_REC *server)
static void sig_server_quit(IRC_SERVER_REC *server, const char *msg)
{
char *str;
+ char *recoded;
if (!IS_IRC_SERVER(server) || server->handle == NULL ||
server->handle->readbuffer == NULL)
return;
- str = g_strdup_printf("QUIT :%s", msg);
+ recoded = recode_out(SERVER(server), msg, NULL);
+ str = g_strdup_printf("QUIT :%s", recoded);
irc_send_cmd_now(server, str);
g_free(str);
+ g_free(recoded);
}
void irc_server_send_action(IRC_SERVER_REC *server, const char *target, const char *data)