summaryrefslogtreecommitdiff
path: root/include/services.h
diff options
context:
space:
mode:
authorNaram Qashat <cyberbotx@cyberbotx.com>2010-07-26 23:32:03 -0400
committerNaram Qashat <cyberbotx@cyberbotx.com>2010-07-26 23:32:03 -0400
commit57bb7593059242652c57aae4391b45416dc7fa70 (patch)
tree80b1b21308a0ce7e55bc5b8e278ed6cc95c07e8c /include/services.h
parent6e6b6b46aabfb3e558f66bd0fdc528e93505cf76 (diff)
Trying to make things a little more const-safe, a work in progress but this is a bit better.
Diffstat (limited to 'include/services.h')
-rw-r--r--include/services.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/services.h b/include/services.h
index a23f78bff..16f365a09 100644
--- a/include/services.h
+++ b/include/services.h
@@ -940,8 +940,8 @@ class CoreExport IRCDProto
virtual void SendNotice(BotInfo *bi, const Anope::string &dest, const char *fmt, ...);
virtual void SendAction(BotInfo *bi, const Anope::string &dest, const char *fmt, ...);
virtual void SendPrivmsg(BotInfo *bi, const Anope::string &dest, const char *fmt, ...);
- virtual void SendGlobalNotice(BotInfo *bi, Server *dest, const Anope::string &msg);
- virtual void SendGlobalPrivmsg(BotInfo *bi, Server *desc, const Anope::string &msg);
+ virtual void SendGlobalNotice(BotInfo *bi, const Server *dest, const Anope::string &msg);
+ virtual void SendGlobalPrivmsg(BotInfo *bi, const Server *desc, const Anope::string &msg);
/** XXX: This is a hack for NickServ enforcers. It is deprecated.
* If I catch any developer using this in new code, I will RIP YOUR BALLS OFF.