aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_account.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_account.cpp')
-rw-r--r--src/modules/m_account.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/m_account.cpp b/src/modules/m_account.cpp
index 3c446dffc..d9251f04f 100644
--- a/src/modules/m_account.cpp
+++ b/src/modules/m_account.cpp
@@ -357,6 +357,8 @@ public:
return MOD_RES_PASSTHRU; // Matches on account name.
}
+ ServerInstance->SNO.WriteGlobalSno('o', "%s (%s) [%s] failed to log into the \x02%s\x02 oper account because they are not logged into the correct user account.",
+ user->nick.c_str(), user->MakeHost().c_str(), user->GetIPString().c_str(), oper->GetName().c_str());
return MOD_RES_DENY; // Account required but it does not match.
}