From 75dd784538504b53d5155a96b88aaac6188f950d Mon Sep 17 00:00:00 2001 From: Adam Date: Sat, 23 Jan 2016 10:53:22 -0500 Subject: [PATCH] Fix hybrid to compile --- modules/protocol/hybrid.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/protocol/hybrid.cpp b/modules/protocol/hybrid.cpp index 3c09808dd..a4058f3c7 100644 --- a/modules/protocol/hybrid.cpp +++ b/modules/protocol/hybrid.cpp @@ -33,7 +33,7 @@ class HybridProto : public IRCDProto void SendSVSKillInternal(const MessageSource &source, User *u, const Anope::string &buf) anope_override { IRCDProto::SendSVSKillInternal(source, u, buf); - user->KillInternal(source, buf); + u->KillInternal(source, buf); } public: @@ -80,7 +80,7 @@ class HybridProto : public IRCDProto void SendSGLine(User *, const XLine *x) anope_override { - UplinkSocket::Message(Config->GetClient("OperServ")) << "XLINE * " << x->mask << " " (x->expires ? x->expires - Anope::CurTime : 0) " :" << x->GetReason(); + UplinkSocket::Message(Config->GetClient("OperServ")) << "XLINE * " << x->mask << " " << (x->expires ? x->expires - Anope::CurTime : 0) << " :" << x->GetReason(); } void SendSZLineDel(const XLine *x) anope_override