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 14:50:36 +0200
committerBerke Viktor <bviktor@hexchat.org>2012-10-22 14:50:36 +0200
commit545b7dc6ffc0aff9f2ca2cb4ba10b69e25134a03 (patch)
treecfb96af58bab32dca37205add2a5be36dd2c23f2 /src/common/outbound.c
parent5c49b45a6deb80d604fd6114bb110358b6ee0687 (diff)
Variable cleanup for irc_*
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 93751fcf..cb96f86c 100644
--- a/src/common/outbound.c
+++ b/src/common/outbound.c
@@ -123,7 +123,7 @@ server_sendpart (server * serv, char *channel, char *reason)
 {
 	if (!reason)
 	{
-		reason = random_line (prefs.partreason);
+		reason = random_line (prefs.hex_irc_part_reason);
 		serv->p_part (serv, channel, reason);
 		free (reason);
 	} else
@@ -140,7 +140,7 @@ server_sendquit (session * sess)
 
 	if (!sess->quitreason)
 	{
-		colrea = strdup (prefs.quitreason);
+		colrea = strdup (prefs.hex_irc_quit_reason);
 		check_special_chars (colrea, FALSE);
 		rea = random_line (colrea);
 		free (colrea);
@@ -513,7 +513,7 @@ ban (session * sess, char *tbuf, char *mask, char *bantypestr, int deop)
 		if (*bantypestr)
 			bantype = atoi (bantypestr);
 		else
-			bantype = prefs.bantype;
+			bantype = prefs.hex_irc_ban_type;
 
 		tbuf[0] = 0;
 		if (inet_addr (fullhost) != -1)	/* "fullhost" is really a IP number */