aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_chanlog.cpp
diff options
context:
space:
mode:
authorGravatar attilamolnar2013-07-19 13:55:02 +0200
committerGravatar attilamolnar2013-08-25 13:41:36 +0200
commit61d586b1a3ad689669f6dcdc285b0d021ca814bd (patch)
tree328d3148a653932445a2f8488500852b1e812e52 /src/modules/m_chanlog.cpp
parentMerge pull request #616 from ShutterQuick/inspircd+chanhistbot (diff)
Clean up the protocol interface
Diffstat (limited to 'src/modules/m_chanlog.cpp')
-rw-r--r--src/modules/m_chanlog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_chanlog.cpp b/src/modules/m_chanlog.cpp
index a62fbf9b2..dc5750ba6 100644
--- a/src/modules/m_chanlog.cpp
+++ b/src/modules/m_chanlog.cpp
@@ -76,7 +76,7 @@ class ModuleChanLog : public Module
if (c)
{
c->WriteChannelWithServ(ServerInstance->Config->ServerName, "PRIVMSG %s :%s", c->name.c_str(), snotice.c_str());
- ServerInstance->PI->SendChannelPrivmsg(c, 0, snotice);
+ ServerInstance->PI->SendMessage(c, 0, snotice);
}
}