summaryrefslogtreecommitdiff
path: root/src/plugins/alias/alias-info.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/alias/alias-info.c')
-rw-r--r--src/plugins/alias/alias-info.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/alias/alias-info.c b/src/plugins/alias/alias-info.c
index 2a8e7a2e9..a746db33a 100644
--- a/src/plugins/alias/alias-info.c
+++ b/src/plugins/alias/alias-info.c
@@ -43,7 +43,7 @@ alias_info_get_infolist_cb (void *data, const char *infolist_name,
if (!infolist_name || !infolist_name[0])
return NULL;
- if (weechat_strcasecmp (infolist_name, "alias") == 0)
+ if (weechat_strcasecmp (infolist_name, ALIAS_PLUGIN_NAME) == 0)
{
if (pointer && !alias_valid (pointer))
return NULL;