diff options
| author | Adam <Adam@anope.org> | 2011-09-03 01:10:12 -0400 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2011-09-10 02:06:29 -0400 |
| commit | 1478b5bbd7ecc99c3ceefc0396845ebb0608d331 (patch) | |
| tree | 24783150322c7774643e22f4b3074764dab0736e /modules/protocol | |
| parent | 19e0b87aa1f41c3aabf6afc87ecdc8517dd47af0 (diff) | |
Added chanserv/log
Diffstat (limited to 'modules/protocol')
| -rw-r--r-- | modules/protocol/bahamut.cpp | 5 | ||||
| -rw-r--r-- | modules/protocol/inspircd-ts6.h | 5 | ||||
| -rw-r--r-- | modules/protocol/inspircd11.cpp | 5 | ||||
| -rw-r--r-- | modules/protocol/plexus.cpp | 5 | ||||
| -rw-r--r-- | modules/protocol/ratbox.cpp | 5 | ||||
| -rw-r--r-- | modules/protocol/unreal.cpp | 7 |
6 files changed, 0 insertions, 32 deletions
diff --git a/modules/protocol/bahamut.cpp b/modules/protocol/bahamut.cpp index 9aae47086..008c4dd32 100644 --- a/modules/protocol/bahamut.cpp +++ b/modules/protocol/bahamut.cpp @@ -201,11 +201,6 @@ class BahamutIRCdProto : public IRCDProto send_cmd("", "BURST 0"); } - void SendNoticeChanopsInternal(const BotInfo *source, const Channel *dest, const Anope::string &buf) - { - send_cmd("", "NOTICE @%s :%s", dest->name.c_str(), buf.c_str()); - } - void SendKickInternal(const BotInfo *source, const Channel *chan, const User *user, const Anope::string &buf) { if (!buf.empty()) diff --git a/modules/protocol/inspircd-ts6.h b/modules/protocol/inspircd-ts6.h index bb2c1cc9a..3603555c4 100644 --- a/modules/protocol/inspircd-ts6.h +++ b/modules/protocol/inspircd-ts6.h @@ -117,11 +117,6 @@ class InspIRCdTS6Proto : public IRCDProto send_cmd(source->GetUID(), "KICK %s %s :%s", chan->name.c_str(), user->GetUID().c_str(), user->nick.c_str()); } - void SendNoticeChanopsInternal(const BotInfo *source, const Channel *dest, const Anope::string &buf) - { - send_cmd(Config->Numeric, "NOTICE @%s :%s", dest->name.c_str(), buf.c_str()); - } - /* SERVER services-dev.chatspike.net password 0 :Description here */ void SendServer(const Server *server) { diff --git a/modules/protocol/inspircd11.cpp b/modules/protocol/inspircd11.cpp index 2a1b4e435..8b51c93a6 100644 --- a/modules/protocol/inspircd11.cpp +++ b/modules/protocol/inspircd11.cpp @@ -150,11 +150,6 @@ class InspIRCdProto : public IRCDProto send_cmd(source->nick, "KICK %s %s :%s", chan->name.c_str(), user->nick.c_str(), user->nick.c_str()); } - void SendNoticeChanopsInternal(const BotInfo *source, const Channel *dest, const Anope::string &buf) - { - send_cmd(Config->ServerName, "NOTICE @%s :%s", dest->name.c_str(), buf.c_str()); - } - /* SERVER services-dev.chatspike.net password 0 :Description here */ void SendServer(const Server *server) { diff --git a/modules/protocol/plexus.cpp b/modules/protocol/plexus.cpp index 8bc3e21b9..f31bfea6a 100644 --- a/modules/protocol/plexus.cpp +++ b/modules/protocol/plexus.cpp @@ -216,11 +216,6 @@ class PlexusProto : public IRCDProto send_cmd(bi->GetUID(), "KICK %s %s", chan->name.c_str(), user->GetUID().c_str()); } - void SendNoticeChanopsInternal(const BotInfo *source, const Channel *dest, const Anope::string &buf) - { - send_cmd("", "NOTICE @%s :%s", dest->name.c_str(), buf.c_str()); - } - /* INVITE */ void SendInvite(BotInfo *source, const Anope::string &chan, const Anope::string &nick) { diff --git a/modules/protocol/ratbox.cpp b/modules/protocol/ratbox.cpp index d4208760e..957564890 100644 --- a/modules/protocol/ratbox.cpp +++ b/modules/protocol/ratbox.cpp @@ -200,11 +200,6 @@ class RatboxProto : public IRCDProto send_cmd(bi->GetUID(), "KICK %s %s", chan->name.c_str(), user->GetUID().c_str()); } - void SendNoticeChanopsInternal(const BotInfo *source, const Channel *dest, const Anope::string &buf) - { - send_cmd("", "NOTICE @%s :%s", dest->name.c_str(), buf.c_str()); - } - /* INVITE */ void SendInvite(BotInfo *source, const Anope::string &chan, const Anope::string &nick) { diff --git a/modules/protocol/unreal.cpp b/modules/protocol/unreal.cpp index cbb23dcc5..cb6ec2091 100644 --- a/modules/protocol/unreal.cpp +++ b/modules/protocol/unreal.cpp @@ -154,13 +154,6 @@ class UnrealIRCdProto : public IRCDProto send_cmd(source->nick, "H %s %s", chan->name.c_str(), user->nick.c_str()); } - void SendNoticeChanopsInternal(const BotInfo *source, const Channel *dest, const Anope::string &buf) - { - if (buf.empty()) - return; - send_cmd(source->nick, "B @%s :%s", dest->name.c_str(), buf.c_str()); - } - /* SERVER name hop descript */ /* Unreal 3.2 actually sends some info about itself in the descript area */ void SendServer(const Server *server) |
