summaryrefslogtreecommitdiff
path: root/modules/protocol
diff options
context:
space:
mode:
Diffstat (limited to 'modules/protocol')
-rw-r--r--modules/protocol/bahamut.cpp2
-rw-r--r--modules/protocol/ngircd.cpp8
-rw-r--r--modules/protocol/unreal.cpp2
3 files changed, 2 insertions, 10 deletions
diff --git a/modules/protocol/bahamut.cpp b/modules/protocol/bahamut.cpp
index 181b4dc2e..5a5e650cc 100644
--- a/modules/protocol/bahamut.cpp
+++ b/modules/protocol/bahamut.cpp
@@ -238,7 +238,7 @@ class BahamutIRCdProto : public IRCDProto
/*
Note: if the stamp is null 0, the below usage is correct of Bahamut
*/
- void SendSVSKillInternal(const BotInfo *source, const User *user, const Anope::string &buf) anope_override
+ void SendSVSKillInternal(const BotInfo *source, User *user, const Anope::string &buf) anope_override
{
if (source)
UplinkSocket::Message(source) << "SVSKILL " << user->nick << " :" << buf;
diff --git a/modules/protocol/ngircd.cpp b/modules/protocol/ngircd.cpp
index 442d2c8e5..2d69c5f30 100644
--- a/modules/protocol/ngircd.cpp
+++ b/modules/protocol/ngircd.cpp
@@ -138,14 +138,6 @@ class ngIRCdProto : public IRCDProto
UplinkSocket::Message() << "SERVER " << server->GetName() << " " << server->GetHops() << " :" << server->GetDescription();
}
- void SendSVSKillInternal(const BotInfo *source, const User *user, const Anope::string &buf) anope_override
- {
- if (source)
- UplinkSocket::Message(source) << "KILL " << user->nick << " :" << buf;
- else
- UplinkSocket::Message(Me) << "KILL " << user->nick << " :" << buf;
- }
-
void SendTopic(BotInfo *bi, Channel *c) anope_override
{
UplinkSocket::Message(bi) << "TOPIC " << c->name << " :" << c->topic;
diff --git a/modules/protocol/unreal.cpp b/modules/protocol/unreal.cpp
index bafca8016..b54df1863 100644
--- a/modules/protocol/unreal.cpp
+++ b/modules/protocol/unreal.cpp
@@ -126,7 +126,7 @@ class UnrealIRCdProto : public IRCDProto
UplinkSocket::Message() << "BD + G " << x->GetUser() << " " << x->GetHost() << " " << x->By << " " << Anope::CurTime + timeleft << " " << x->Created << " :" << x->GetReason();
}
- void SendSVSKillInternal(const BotInfo *source, const User *user, const Anope::string &buf) anope_override
+ void SendSVSKillInternal(const BotInfo *source, User *user, const Anope::string &buf) anope_override
{
UplinkSocket::Message(source) << "h " << user->nick << " :" << buf;
}