aboutsummaryrefslogtreecommitdiffstats
path: root/bitlbee.c
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@google.com>2010-07-05 13:01:28 +0100
committerWilmer van der Gaast <wilmer@google.com>2010-07-05 13:01:28 +0100
commit69b896b5967e5d13b1c60c68cb3bc7d4a0d5cd06 (patch)
tree4ae3696639aaef0ff003176a343abcb4fad5c8ac /bitlbee.c
parent006a84f999248d1bc1c1e36fa3437765d4bd1142 (diff)
When addressing people in a chatroom, try to translate the nickname to the
original unstripped version (without ugly underscores, also).
Diffstat (limited to 'bitlbee.c')
-rw-r--r--bitlbee.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/bitlbee.c b/bitlbee.c
index d0d95e67..5e93f733 100644
--- a/bitlbee.c
+++ b/bitlbee.c
@@ -369,7 +369,8 @@ gboolean bitlbee_shutdown( gpointer data, gint fd, b_input_condition cond )
{
/* Try to save data for all active connections (if desired). */
while( irc_connection_list != NULL )
- irc_free( irc_connection_list->data );
+ irc_abort( irc_connection_list->data, FALSE,
+ "BitlBee server shutting down" );
/* We'll only reach this point when not running in inetd mode: */
b_main_quit();