1
0
mirror of https://github.com/anope/anope.git synced 2026-07-10 14:43:13 +02:00

Fix ratbox protocol to use TS6SID for sending (UN)RESV, and fix m_privmsg to correctly find the core pseudo-clients if the IRCd sends a UID instead of a nick.

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2252 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
cyberbotx
2009-04-03 18:36:10 +00:00
parent a6f0b5e8d4
commit a7316c1770
2 changed files with 36 additions and 29 deletions
+2 -4
View File
@@ -521,8 +521,7 @@ class RatboxProto : public IRCDTS6Proto
void SendSQLine(const char *mask, const char *reason)
{
BotInfo *bi = findbot(s_OperServ);
send_cmd(bi ? bi->uid : s_OperServ, "RESV * %s :%s", mask, reason);
send_cmd(TS6SID, "RESV * %s :%s", mask, reason);
}
void SendSGLineDel(const char *mask)
@@ -545,8 +544,7 @@ class RatboxProto : public IRCDTS6Proto
void SendSQLineDel(const char *user)
{
BotInfo *bi = findbot(s_OperServ);
send_cmd(bi ? bi->uid : s_OperServ, "UNRESV * %s", user);
send_cmd(TS6SID, "UNRESV * %s", user);
}
void SendJoin(BotInfo *user, const char *channel, time_t chantime)