From d5f036017510dad134fd9c8d471135f774f1fe17 Mon Sep 17 00:00:00 2001 From: Adam- Date: Sat, 22 May 2010 07:40:22 +0000 Subject: Rewrote the nick colliding/releaseing/canceling system, fixes many many bugs on IRCds without svsnick and/or svshold git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2975 5417fbe8-f217-4b02-8779-1006273d7864 --- src/protocol/bahamut.c | 1 - src/protocol/ratbox.c | 1 - src/protocol/unreal32.c | 3 +-- 3 files changed, 1 insertion(+), 4 deletions(-) (limited to 'src/protocol') diff --git a/src/protocol/bahamut.c b/src/protocol/bahamut.c index 01462708c..a813a4b6c 100644 --- a/src/protocol/bahamut.c +++ b/src/protocol/bahamut.c @@ -261,7 +261,6 @@ class BahamutIRCdProto : public IRCDProto { EnforceQlinedNick(nick, Config.s_BotServ); send_cmd(NULL, "NICK %s 1 %ld %s %s %s %s 0 0 :%s", nick.c_str(), static_cast(time(NULL)), modes, user.c_str(), host.c_str(), Config.ServerName, real.c_str()); - SendSQLine(nick, "Reserved for services"); } /* SVSMODE +d */ diff --git a/src/protocol/ratbox.c b/src/protocol/ratbox.c index 116042992..f1c2f3b3b 100644 --- a/src/protocol/ratbox.c +++ b/src/protocol/ratbox.c @@ -209,7 +209,6 @@ class RatboxProto : public IRCDTS6Proto { EnforceQlinedNick(nick, NULL); send_cmd(TS6SID, "UID %s 1 %ld %s %s %s 0 %s :%s", nick.c_str(), static_cast(time(NULL)), modes, user.c_str(), host.c_str(), uid.c_str(), real.c_str()); - SendSQLine(nick, "Reserved for services"); } void SendPartInternal(BotInfo *bi, const char *chan, const char *buf) diff --git a/src/protocol/unreal32.c b/src/protocol/unreal32.c index e1b673c25..d36a5db20 100644 --- a/src/protocol/unreal32.c +++ b/src/protocol/unreal32.c @@ -197,9 +197,8 @@ class UnrealIRCdProto : public IRCDProto void SendClientIntroduction(const std::string &nick, const std::string &user, const std::string &host, const std::string &real, const char *modes, const std::string &uid) { - EnforceQlinedNick(nick, Config.s_BotServ); + EnforceQlinedNick(nick, Config.ServerName); send_cmd(NULL, "& %s 1 %ld %s %s %s 0 %s %s%s :%s", nick.c_str(), static_cast(time(NULL)), user.c_str(), host.c_str(), Config.ServerName, modes, host.c_str(), myIrcd->nickip ? " *" : " ", real.c_str()); - SendSQLine(nick, "Reserved for services"); } void SendKickInternal(BotInfo *source, Channel *chan, User *user, const char *buf) -- cgit