summary refs log tree commit diff stats
path: root/src/common/outbound.c
diff options
context:
space:
mode:
authorBerke Viktor <bviktor@hexchat.org>2012-10-22 09:53:28 +0200
committerBerke Viktor <bviktor@hexchat.org>2012-10-22 09:53:28 +0200
commita05817c0ebc1db2512fa42b3949554647d36ab48 (patch)
tree26fe08b4196062b26e1c6869371797b6de3dd219 /src/common/outbound.c
parent0e8ac8b7a1a100a87900ae010edacde50e21af2c (diff)
Variable cleanup for away_*
Diffstat (limited to 'src/common/outbound.c')
-rw-r--r--src/common/outbound.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/common/outbound.c b/src/common/outbound.c
index aca8b3f3..18775b48 100644
--- a/src/common/outbound.c
+++ b/src/common/outbound.c
@@ -378,11 +378,11 @@ cmd_away (struct session *sess, char *tbuf, char *word[], char *word_eol[])
 			reason = sess->server->last_away_reason;
 		else
 			/* must manage memory pointed to by random_line() */
-			reason = random_line (prefs.awayreason);
+			reason = random_line (prefs.hex_away_reason);
 	}
 	sess->server->p_set_away (sess->server, reason);
 
-	if (prefs.show_away_message)
+	if (prefs.hex_away_show_message)
 	{
 		snprintf (tbuf, TBUFSIZE, "me is away: %s", reason);
 		for (list = sess_list; list; list = list->next)
@@ -424,7 +424,7 @@ cmd_back (struct session *sess, char *tbuf, char *word[], char *word_eol[])
 	{
 		sess->server->p_set_back (sess->server);
 
-		if (prefs.show_away_message)
+		if (prefs.hex_away_show_message)
 		{
 			gone = time (NULL) - sess->server->away_time;
 			sprintf (tbuf, "me is back (gone %.2d:%.2d:%.2d)", gone / 3600,