diff options
author | Peter Powell <petpow@saberuk.com> | 2019-12-21 05:37:55 +0000 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2019-12-21 05:37:55 +0000 |
commit | 52df21f646a803b85417a4b699b1be48c25fa566 (patch) | |
tree | e33b30aba48fc776763cf4ec7de56e7f529a6d6f /src | |
parent | 20fa9e1038ee3d5c2d0c89bf7e8e6dcda0644aa6 (diff) |
Use FindNickOnly for finding the required nick for an alias.
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/m_alias.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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."); |