1
0
mirror of https://github.com/anope/anope.git synced 2026-07-02 08:06:37 +02:00

Added chanserv/log

This commit is contained in:
Adam
2011-09-03 01:10:12 -04:00
parent 19e0b87aa1
commit 1478b5bbd7
18 changed files with 340 additions and 83 deletions
-5
View File
@@ -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())
-5
View File
@@ -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)
{
-5
View File
@@ -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)
{
-5
View File
@@ -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)
{
-5
View File
@@ -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)
{
-7
View File
@@ -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)