diff options
| author | Adam <Adam@anope.org> | 2013-08-01 13:16:18 +0000 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2013-08-01 13:39:35 +0000 |
| commit | 1e625b6837fdf96616cfc49700aa28d184a7c171 (patch) | |
| tree | 6b6f06deaf769dd6b1a7853f90d26183828986f1 /modules/extra | |
| parent | 402c624e455d13cc811bef2e8d1639846e892a34 (diff) | |
Use MessageSource as the source for many IRCDProto funcs
Keep track of what user modes are oper only/server only/etc
Diffstat (limited to 'modules/extra')
| -rw-r--r-- | modules/extra/m_proxyscan.cpp | 2 | ||||
| -rw-r--r-- | modules/extra/m_xmlrpc_main.cpp | 2 | ||||
| -rw-r--r-- | modules/extra/webcpanel/webcpanel.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/modules/extra/m_proxyscan.cpp b/modules/extra/m_proxyscan.cpp index 7f8adb60e..c772a28a0 100644 --- a/modules/extra/m_proxyscan.cpp +++ b/modules/extra/m_proxyscan.cpp @@ -341,7 +341,7 @@ class ModuleProxyScan : public Module if (!this->con_notice.empty() && !this->con_source.empty()) { - const BotInfo *bi = BotInfo::Find(this->con_source); + BotInfo *bi = BotInfo::Find(this->con_source); if (bi) user->SendMessage(bi, this->con_notice); } diff --git a/modules/extra/m_xmlrpc_main.cpp b/modules/extra/m_xmlrpc_main.cpp index c1db97603..17dd8b96f 100644 --- a/modules/extra/m_xmlrpc_main.cpp +++ b/modules/extra/m_xmlrpc_main.cpp @@ -91,7 +91,7 @@ class MyXMLRPCEvent : public XMLRPCEvent XMLRPCommandReply(Anope::string &s) : str(s) { } - void SendMessage(const BotInfo *source, const Anope::string &msg) anope_override + void SendMessage(BotInfo *, const Anope::string &msg) anope_override { str += msg + "\n"; }; diff --git a/modules/extra/webcpanel/webcpanel.cpp b/modules/extra/webcpanel/webcpanel.cpp index c8926a150..f92dda579 100644 --- a/modules/extra/webcpanel/webcpanel.cpp +++ b/modules/extra/webcpanel/webcpanel.cpp @@ -247,7 +247,7 @@ namespace WebPanel MyComandReply(TemplateFileServer::Replacements &_r, const Anope::string &_k) : re(_r), k(_k) { } - void SendMessage(const BotInfo *source, const Anope::string &msg) anope_override + void SendMessage(BotInfo *source, const Anope::string &msg) anope_override { re[k] = msg; } |
