diff options
author | Adam <Adam@anope.org> | 2013-05-05 01:55:04 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2013-05-05 01:55:04 -0400 |
commit | 1d0bb9b26b7ad58ab0bf979ac046f4511b3bf12b (patch) | |
tree | 4486f0784bdf050fd7eb225c0cb9df352ce1f45a /include/protocol.h | |
parent | 781defb7076ddfddf723ca08cd0a518b6657b64f (diff) |
Rework the config file reader to be much more flexible and move many configuration directives to the actual modules they are used in.
Diffstat (limited to 'include/protocol.h')
-rw-r--r-- | include/protocol.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/include/protocol.h b/include/protocol.h index 2de0c8e08..874fbbe2c 100644 --- a/include/protocol.h +++ b/include/protocol.h @@ -31,7 +31,6 @@ class CoreExport IRCDProto : public Service virtual void SendModeInternal(const BotInfo *, const Channel *, const Anope::string &); virtual void SendModeInternal(const BotInfo *, const User *, const Anope::string &); virtual void SendKickInternal(const BotInfo *, const Channel *, const User *, const Anope::string &); - virtual void SendMessageInternal(const BotInfo *bi, const Anope::string &dest, const Anope::string &buf); virtual void SendNoticeInternal(const BotInfo *bi, const Anope::string &dest, const Anope::string &msg); virtual void SendPrivmsgInternal(const BotInfo *bi, const Anope::string &dest, const Anope::string &buf); virtual void SendQuitInternal(const User *u, const Anope::string &buf); @@ -127,8 +126,6 @@ class CoreExport IRCDProto : public Service virtual void SendKick(const BotInfo *bi, const Channel *chan, const User *user, const char *fmt, ...); - /* Sends a message using SendPrivmsg or SendNotice, depending on the default message method. */ - virtual void SendMessage(const BotInfo *bi, const Anope::string &dest, const char *fmt, ...); virtual void SendNotice(const BotInfo *bi, const Anope::string &dest, const char *fmt, ...); virtual void SendPrivmsg(const BotInfo *bi, const Anope::string &dest, const char *fmt, ...); virtual void SendAction(const BotInfo *bi, const Anope::string &dest, const char *fmt, ...); @@ -193,7 +190,7 @@ class CoreExport IRCDProto : public Service virtual void SendBOB() { } virtual void SendEOB() { } - virtual void SendSVSHold(const Anope::string &) { } + virtual void SendSVSHold(const Anope::string &, time_t) { } virtual void SendSVSHoldDel(const Anope::string &) { } virtual void SendSWhois(const BotInfo *bi, const Anope::string &, const Anope::string &) { } |