summary refs log tree commit diff stats
path: root/plugins/python
diff options
context:
space:
mode:
authorBerke Viktor <bviktor@hexchat.org>2012-10-30 10:42:37 +0100
committerBerke Viktor <bviktor@hexchat.org>2012-10-30 10:42:37 +0100
commit82936df2af3993c2e234042c450e0e9630b045d4 (patch)
tree415376331719c2502016c1db33b0f8bdf0363866 /plugins/python
parent012d78b2f642b91099b581937a15b6afab0049d0 (diff)
Some final rebranding
Diffstat (limited to 'plugins/python')
-rw-r--r--plugins/python/python.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/python/python.c b/plugins/python/python.c
index 97824b13..2ef531c5 100644
--- a/plugins/python/python.c
+++ b/plugins/python/python.c
@@ -1171,7 +1171,7 @@ Plugin_New(char *filename, PyMethodDef *xchat_methods, PyObject *xcoobj)
 	}
 
 	PyModule_AddIntConstant(m, "EAT_NONE", HEXCHAT_EAT_NONE);
-	PyModule_AddIntConstant(m, "EAT_XCHAT", HEXCHAT_EAT_XCHAT);
+	PyModule_AddIntConstant(m, "EAT_XCHAT", HEXCHAT_EAT_HEXCHAT);
 	PyModule_AddIntConstant(m, "EAT_PLUGIN", HEXCHAT_EAT_PLUGIN);
 	PyModule_AddIntConstant(m, "EAT_ALL", HEXCHAT_EAT_ALL);
 	PyModule_AddIntConstant(m, "PRI_HIGHEST", HEXCHAT_PRI_HIGHEST);
@@ -2192,7 +2192,7 @@ Command_Load(char *word[], char *word_eol[], void *userdata)
 	int len = strlen(word[2]);
 	if (len > 3 && strcasecmp(".py", word[2]+len-3) == 0) {
 		Command_PyLoad(word[2]);
-		return HEXCHAT_EAT_XCHAT;
+		return HEXCHAT_EAT_HEXCHAT;
 	}
 	return HEXCHAT_EAT_NONE;
 }
@@ -2203,7 +2203,7 @@ Command_Unload(char *word[], char *word_eol[], void *userdata)
 	int len = strlen(word[2]);
 	if (len > 3 && strcasecmp(".py", word[2]+len-3) == 0) {
 		Command_PyUnload(word[2]);
-		return HEXCHAT_EAT_XCHAT;
+		return HEXCHAT_EAT_HEXCHAT;
 	}
 	return HEXCHAT_EAT_NONE;
 }