diff options
| author | 2016-03-05 16:46:03 +0100 | |
|---|---|---|
| committer | 2016-03-05 16:46:03 +0100 | |
| commit | 0412378109ae9f618e47b2bb60729c0d8f29fe8d (patch) | |
| tree | d70d970fbde253cdc2e5a47343c758480e9bae71 /src/modules/m_spanningtree/fjoin.cpp | |
| parent | Add Channel::WriteNotice() (diff) | |
| download | inspircd++-0412378109ae9f618e47b2bb60729c0d8f29fe8d.tar.gz inspircd++-0412378109ae9f618e47b2bb60729c0d8f29fe8d.tar.bz2 inspircd++-0412378109ae9f618e47b2bb60729c0d8f29fe8d.zip | |
Send NOTICEs to local channel members with Channel::WriteNotice()
Diffstat (limited to 'src/modules/m_spanningtree/fjoin.cpp')
| -rw-r--r-- | src/modules/m_spanningtree/fjoin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree/fjoin.cpp b/src/modules/m_spanningtree/fjoin.cpp index 0879e730a..74590adf8 100644 --- a/src/modules/m_spanningtree/fjoin.cpp +++ b/src/modules/m_spanningtree/fjoin.cpp @@ -266,7 +266,7 @@ void CommandFJoin::RemoveStatus(Channel* c) void CommandFJoin::LowerTS(Channel* chan, time_t TS, const std::string& newname) { if (Utils->AnnounceTSChange) - chan->WriteChannelWithServ(ServerInstance->Config->ServerName, "NOTICE %s :TS for %s changed from %lu to %lu", chan->name.c_str(), newname.c_str(), (unsigned long) chan->age, (unsigned long) TS); + chan->WriteNotice(InspIRCd::Format("TS for %s changed from %lu to %lu", newname.c_str(), (unsigned long) chan->age, (unsigned long) TS)); // While the name is equal in case-insensitive compare, it might differ in case; use the remote version chan->name = newname; |
