summary refs log tree commit diff stats
path: root/src/fe-gtk/chanview.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fe-gtk/chanview.c')
-rw-r--r--src/fe-gtk/chanview.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fe-gtk/chanview.c b/src/fe-gtk/chanview.c
index e90c4df8..f7e01695 100644
--- a/src/fe-gtk/chanview.c
+++ b/src/fe-gtk/chanview.c
@@ -583,9 +583,9 @@ chan_remove (chan *ch, gboolean force)
 {
 	chan *new_ch;
 	int i, num;
-	extern int xchat_is_quitting;
+	extern int hexchat_is_quitting;
 
-	if (xchat_is_quitting)	/* avoid lots of looping on exit */
+	if (hexchat_is_quitting)	/* avoid lots of looping on exit */
 		return TRUE;
 
 	/* is this ch allowed to be closed while still having children? */