diff options
author | Adam <Adam@anope.org> | 2016-01-23 10:53:22 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2016-01-23 10:53:22 -0500 |
commit | 75dd784538504b53d5155a96b88aaac6188f950d (patch) | |
tree | 0cad44346d74b4ee7c1a84b250c038e2689be466 /modules/protocol/hybrid.cpp | |
parent | e955db6e85f0372cb2d4be449f424e37fdc78097 (diff) |
Fix hybrid to compile
Diffstat (limited to 'modules/protocol/hybrid.cpp')
-rw-r--r-- | modules/protocol/hybrid.cpp | 4 |
1 files 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 |