diff options
| author | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2010-05-22 07:40:22 +0000 |
|---|---|---|
| committer | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2010-05-22 07:40:22 +0000 |
| commit | d5f036017510dad134fd9c8d471135f774f1fe17 (patch) | |
| tree | ee037c32da9ad223cd660af9f5ed36133a517bec /src/protocol | |
| parent | fae2710ba7e068edb68baf26f901af564741e5bf (diff) | |
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
Diffstat (limited to 'src/protocol')
| -rw-r--r-- | src/protocol/bahamut.c | 1 | ||||
| -rw-r--r-- | src/protocol/ratbox.c | 1 | ||||
| -rw-r--r-- | src/protocol/unreal32.c | 3 |
3 files changed, 1 insertions, 4 deletions
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<long>(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<long>(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<long>(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) |
