summaryrefslogtreecommitdiff
path: root/src/modules/m_samode.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_samode.cpp')
-rw-r--r--src/modules/m_samode.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/modules/m_samode.cpp b/src/modules/m_samode.cpp
index 1f68e48bf..6e776e7c0 100644
--- a/src/modules/m_samode.cpp
+++ b/src/modules/m_samode.cpp
@@ -72,6 +72,11 @@ class cmd_samode : public command_t
Event rmode((char *)&n, NULL, "send_mode_explicit");
rmode.Send(ServerInstance);
+ n.clear();
+ n.push_back(std::string(user->nick) + " used SAMODE: " + ServerInstance->Modes->GetLastParse());
+ Event rmode2((char *)&n, NULL, "send_opers");
+ rmode.Send(ServerInstance);
+
/* XXX: Yes, this is right. We dont want to propogate the
* actual SAMODE command, just the MODE command generated
* by the send_mode_explicit