diff options
| author | 2021-06-21 16:47:06 -0400 | |
|---|---|---|
| committer | 2021-06-21 21:47:06 +0100 | |
| commit | de6d4dbd1e8845e08c2d87cd89a919e5b21ba619 (patch) | |
| tree | f3c964db5830e7b15361889cd61daceabe3d7466 /src/modules/m_services_account.cpp | |
| parent | Update example configuration for 'if-host-match' oper autologin option. (diff) | |
Fix various spelling issues (#1883).
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
Diffstat (limited to 'src/modules/m_services_account.cpp')
| -rw-r--r-- | src/modules/m_services_account.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/m_services_account.cpp b/src/modules/m_services_account.cpp index 7baa9c75f..0192e7e78 100644 --- a/src/modules/m_services_account.cpp +++ b/src/modules/m_services_account.cpp @@ -230,15 +230,15 @@ class ModuleServicesAccount } case MessageTarget::TYPE_USER: { - User* targuser = target.Get<User>(); - if (!targuser->IsModeSet(regdeafmode) || is_registered) + User* targetuser = target.Get<User>(); + if (!targetuser->IsModeSet(regdeafmode) || is_registered) return MOD_RES_PASSTHRU; - if (calleridapi && calleridapi->IsOnAcceptList(user, targuser)) + if (calleridapi && calleridapi->IsOnAcceptList(user, targetuser)) return MOD_RES_PASSTHRU; // User is messaging a +R user and is not registered or on an accept list. - user->WriteNumeric(ERR_NEEDREGGEDNICK, targuser->nick, "You need to be identified to a registered account to message this user"); + user->WriteNumeric(ERR_NEEDREGGEDNICK, targetuser->nick, "You need to be identified to a registered account to message this user"); return MOD_RES_DENY; break; } |
