diff options
| author | Adam <Adam@anope.org> | 2012-10-30 17:09:30 -0400 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2012-10-30 17:10:31 -0400 |
| commit | 36f357c3547dee43f5f694f32878edd7a641c755 (patch) | |
| tree | 17daf6db2e3c0b61afe35e9e58f6878700a7bd94 /modules/protocol | |
| parent | b07928eea95dc2c12a2be8adfe804e2019881ee5 (diff) | |
Fixed build errors and warnings with -std=c++11
Diffstat (limited to 'modules/protocol')
| -rw-r--r-- | modules/protocol/bahamut.cpp | 2 | ||||
| -rw-r--r-- | modules/protocol/ngircd.cpp | 8 | ||||
| -rw-r--r-- | modules/protocol/unreal.cpp | 2 |
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; } |
