summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/MirLua/src/m_database.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/MirLua/src/m_database.cpp b/plugins/MirLua/src/m_database.cpp
index efd10d6f3b..2c8e9c49df 100644
--- a/plugins/MirLua/src/m_database.cpp
+++ b/plugins/MirLua/src/m_database.cpp
@@ -600,6 +600,8 @@ static int ci__index(lua_State *L)
ci->dwFlag = CNF_LASTNAME;
else if (mir_strcmpi(key, "Nick") == 0)
ci->dwFlag = CNF_NICK;
+ else if (mir_strcmpi(key, "CustomNick") == 0)
+ ci->dwFlag = CNF_CUSTOMNICK;
else if (mir_strcmpi(key, "FullName") == 0)
ci->dwFlag = CNF_FIRSTLAST;
else if (mir_strcmpi(key, "DisplayName") == 0)