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 10:10:19 +0200
committerBerke Viktor <bviktor@hexchat.org>2012-10-22 10:10:19 +0200
commitcf8ea2649811bc9736e547eae8f74ecfdf5f6757 (patch)
tree7b7a0efe219d35e9c6b910ff3da04d22732d1814 /src/common/outbound.c
parenta05817c0ebc1db2512fa42b3949554647d36ab48 (diff)
Variable cleanup for completion_*
Diffstat (limited to 'src/common/outbound.c')
-rw-r--r--src/common/outbound.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/common/outbound.c b/src/common/outbound.c
index 18775b48..2d3dff34 100644
--- a/src/common/outbound.c
+++ b/src/common/outbound.c
@@ -1725,10 +1725,10 @@ exec_data (GIOChannel *source, GIOCondition condition, struct nbexec *s)
 			if (s->tochannel)
 			{
 				/* must turn off auto-completion temporarily */
-				unsigned int old = prefs.nickcompletion;
-				prefs.nickcompletion = 0;
+				unsigned int old = prefs.hex_completion_auto;
+				prefs.hex_completion_auto = 0;
 				handle_multiline (s->sess, buf, FALSE, TRUE);
-				prefs.nickcompletion = old;
+				prefs.hex_completion_auto = old;
 			}
 			else
 				PrintText (s->sess, buf);
@@ -4074,7 +4074,7 @@ perform_nick_completion (struct session *sess, char *cmd, char *tbuf)
 	char *space = strchr (cmd, ' ');
 	if (space && space != cmd)
 	{
-		if (space[-1] == prefs.nick_suffix[0] && space - 1 != cmd)
+		if (space[-1] == prefs.hex_completion_suffix[0] && space - 1 != cmd)
 		{
 			len = space - cmd - 1;
 			if (len < NICKLEN)
@@ -4175,7 +4175,7 @@ handle_say (session *sess, char *text, int check_spch)
 		goto xit;
 	}
 
-	if (prefs.nickcompletion)
+	if (prefs.hex_completion_auto)
 		perform_nick_completion (sess, text, newcmd);
 	else
 		safe_strcpy (newcmd, text, newcmdlen);