From 76337bc04ac0072019cd3025da55eecd6692490f Mon Sep 17 00:00:00 2001 From: miwob Date: Sun, 15 Feb 2015 21:47:55 +0100 Subject: - Misc updates to the hybrid protocol modules: - best supported version is 8.2.x - fixed UID message handler to cope with account names being '*' - minium required TS version is TS6 now --- modules/protocol/hybrid.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'modules/protocol/hybrid.cpp') diff --git a/modules/protocol/hybrid.cpp b/modules/protocol/hybrid.cpp index 438229780..4cc170574 100644 --- a/modules/protocol/hybrid.cpp +++ b/modules/protocol/hybrid.cpp @@ -36,7 +36,7 @@ class HybridProto : public IRCDProto } public: - HybridProto(Module *creator) : IRCDProto(creator, "Hybrid 8.1.x") + HybridProto(Module *creator) : IRCDProto(creator, "Hybrid 8.2.x") { DefaultPseudoclientModes = "+oi"; CanSVSNick = true; @@ -204,7 +204,7 @@ class HybridProto : public IRCDProto SendServer(Me); - UplinkSocket::Message() << "SVINFO 6 5 0 :" << Anope::CurTime; + UplinkSocket::Message() << "SVINFO 6 6 0 :" << Anope::CurTime; } void SendClientIntroduction(User *u) anope_override @@ -550,7 +550,7 @@ struct IRCDMessageUID : IRCDMessage ip.clear(); NickAlias *na = NULL; - if (params[8] != "0") + if (params[8] != "0" && params[8] != "*") na = NickAlias::Find(params[8]); /* Source is always the server */ -- cgit