summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
3cc11c9)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9530
e03df62e-2008-0410-955e-
edbf42e46eb7
- virtual void SendOperNotice(const std::string &text) { }
-
virtual void SendModeNotice(const std::string &modes, const std::string &text) { }
virtual void SendSNONotice(const std::string &snomask, const std::string &text) { }
virtual void SendModeNotice(const std::string &modes, const std::string &text) { }
virtual void SendSNONotice(const std::string &snomask, const std::string &text) { }
n.pop_front();
ServerInstance->PI->SendMode(channel, n);
n.pop_front();
ServerInstance->PI->SendMode(channel, n);
- ServerInstance->PI->SendOperNotice(std::string(user->nick) + " used SAMODE: " + ServerInstance->Modes->GetLastParse());
-
/* XXX: Yes, this is right. We dont want to propagate the
* actual SAMODE command, just the MODE command generated
* by the Protocol Interface
/* XXX: Yes, this is right. We dont want to propagate the
* actual SAMODE command, just the MODE command generated
* by the Protocol Interface
-void SpanningTreeProtocolInterface::SendOperNotice(const std::string &text)
-{
- parameterlist p;
- p.push_back(":" + text);
- Utils->DoOneToMany(ServerInstance->Config->GetSID(), "OPERNOTICE", p);
-}
-
void SpanningTreeProtocolInterface::SendModeNotice(const std::string &modes, const std::string &text)
{
parameterlist p;
void SpanningTreeProtocolInterface::SendModeNotice(const std::string &modes, const std::string &text)
{
parameterlist p;
virtual void SendMetaData(void* target, int type, const std::string &key, const std::string &data);
virtual void SendTopic(Channel* channel, std::string &topic);
virtual void SendMode(const std::string &target, parameterlist &modedata);
virtual void SendMetaData(void* target, int type, const std::string &key, const std::string &data);
virtual void SendTopic(Channel* channel, std::string &topic);
virtual void SendMode(const std::string &target, parameterlist &modedata);
- virtual void SendOperNotice(const std::string &text);
virtual void SendModeNotice(const std::string &modes, const std::string &text);
virtual void SendSNONotice(const std::string &snomask, const std::string &text);
virtual void PushToClient(User* target, const std::string &rawline);
virtual void SendModeNotice(const std::string &modes, const std::string &text);
virtual void SendSNONotice(const std::string &snomask, const std::string &text);
virtual void PushToClient(User* target, const std::string &rawline);
- else if (command == "OPERNOTICE")
- {
- if (params.size() >= 1)
- Instance->SNO->WriteToSnoMask('A', "From " + (ServerSource ? ServerSource->GetName().c_str() : prefix) + ": " + params[0]);
- return Utils->DoOneToAllButSenderRaw(line, sourceserv, prefix, command, params);
- }
else if (command == "MODENOTICE")
{
if (params.size() >= 2)
else if (command == "MODENOTICE")
{
if (params.size() >= 2)