1
0
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:
Adam-
2010-01-04 05:45:58 +00:00
parent f58026749b
commit 2708eea5d1
113 changed files with 636 additions and 680 deletions
+3 -3
View File
@@ -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, ...)