From 52df21f646a803b85417a4b699b1be48c25fa566 Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Sat, 21 Dec 2019 05:37:55 +0000 Subject: Use FindNickOnly for finding the required nick for an alias. --- src/modules/m_alias.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/m_alias.cpp b/src/modules/m_alias.cpp index 577938e49..7e8c79154 100644 --- a/src/modules/m_alias.cpp +++ b/src/modules/m_alias.cpp @@ -281,7 +281,7 @@ class ModuleAlias : public Module if (!a->RequiredNick.empty()) { - User* u = ServerInstance->FindNick(a->RequiredNick); + User* u = ServerInstance->FindNickOnly(a->RequiredNick); if (!u) { user->WriteNumeric(ERR_NOSUCHNICK, a->RequiredNick, "is currently unavailable. Please try again later."); -- cgit v1.2.3