mirror of
https://github.com/anope/anope.git
synced 2026-07-02 02:46:39 +02:00
Removed NICKMAX and CHANMAX, replaced user->nick, c->name, and ci->name with std::string
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2732 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
+3
-3
@@ -29,9 +29,9 @@ void IRCDProto::SendQuitInternal(BotInfo *bi, const char *buf)
|
||||
void IRCDProto::SendPartInternal(BotInfo *bi, Channel *chan, const char *buf)
|
||||
{
|
||||
if (buf)
|
||||
send_cmd(ircd->ts6 ? bi->uid : bi->nick, "PART %s :%s", chan->name, buf);
|
||||
send_cmd(ircd->ts6 ? bi->uid : bi->nick, "PART %s :%s", chan->name.c_str(), buf);
|
||||
else
|
||||
send_cmd(ircd->ts6 ? bi->uid : bi->nick, "PART %s", chan->name);
|
||||
send_cmd(ircd->ts6 ? bi->uid : bi->nick, "PART %s", chan->name.c_str());
|
||||
}
|
||||
|
||||
void IRCDProto::SendGlobopsInternal(BotInfo *source, const char *buf)
|
||||
@@ -230,7 +230,7 @@ void IRCDProto::SendChangeBotNick(BotInfo *bi, const char *newnick)
|
||||
}
|
||||
void IRCDProto::SendForceNickChange(User *u, const char *newnick, time_t when)
|
||||
{
|
||||
send_cmd(NULL, "SVSNICK %s %s :%ld", u->nick, newnick, static_cast<long>(when));
|
||||
send_cmd(NULL, "SVSNICK %s %s :%ld", u->nick.c_str(), newnick, static_cast<long>(when));
|
||||
}
|
||||
|
||||
void IRCDProto::SendCTCP(BotInfo *bi, const char *dest, const char *fmt, ...)
|
||||
|
||||
Reference in New Issue
Block a user