diff options
author | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-08-05 23:11:45 +0000 |
---|---|---|
committer | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-08-05 23:11:45 +0000 |
commit | 61d3a678caa80cba61087ffc9c6fb79a906f2624 (patch) | |
tree | 9ca4bb8994f0b244c5f0992311e2b3c0ad7a59e3 /src | |
parent | 8e0c895fb7cd2921e60eaeb4ca13cca5878499cf (diff) |
Fix bug #584 (not with the provided patch) and stuff nobody really cares about
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10106 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/m_override.cpp | 4 | ||||
-rw-r--r-- | src/modules/m_satopic.cpp | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/modules/m_override.cpp b/src/modules/m_override.cpp index 0d208189b..8d01833d6 100644 --- a/src/modules/m_override.cpp +++ b/src/modules/m_override.cpp @@ -110,7 +110,7 @@ class ModuleOverride : public Module { if (!channel->HasUser(source) || (channel->IsModeSet('t') && channel->GetStatus(source) < STATUS_HOP)) { - ServerInstance->SNO->WriteToSnoMask('O',std::string(source->nick)+" Overrided a topic change on "+std::string(channel->name)); + ServerInstance->SNO->WriteToSnoMask('O',std::string(source->nick)+" used oper override to change a topic on "+std::string(channel->name)); } // Explicit allow @@ -127,7 +127,7 @@ class ModuleOverride : public Module // If the kicker's status is less than the target's, or the kicker's status is less than or equal to voice if ((chan->GetStatus(source) < chan->GetStatus(user)) || (chan->GetStatus(source) <= STATUS_VOICE)) { - ServerInstance->SNO->WriteToSnoMask('O',std::string(source->nick)+" Override-Kicked "+std::string(user->nick)+" on "+std::string(chan->name)+" ("+reason+")"); + ServerInstance->SNO->WriteToSnoMask('O',std::string(source->nick)+" used oper override to kick "+std::string(user->nick)+" on "+std::string(chan->name)+" ("+reason+")"); } /* Returning -1 explicitly allows the kick */ return -1; diff --git a/src/modules/m_satopic.cpp b/src/modules/m_satopic.cpp index fea5cd018..4394cb799 100644 --- a/src/modules/m_satopic.cpp +++ b/src/modules/m_satopic.cpp @@ -41,6 +41,7 @@ class CommandSATopic : public Command // 3rd parameter overrides access checks target->SetTopic(user, newTopic, true); ServerInstance->SNO->WriteToSnoMask('A', user->nick + " used SATOPIC on " + target->name + ", new topic: " + newTopic); + ServerInstance->PI->SendSNONotice("A", user->nick + " used SATOPIC on " + target->name + ", new topic: " + newTopic); /* I think this is right, the TOPIC message generated should be * propogated without the SATOPIC command itself having to be. |