1
0
mirror of https://github.com/anope/anope.git synced 2026-07-01 19:46:38 +02:00

Added in a modestacker and rewrote almost all of the remaining old mode code

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2696 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
Adam-
2009-12-13 19:32:19 +00:00
parent 3a956c51be
commit a7ac6a0ac7
34 changed files with 2086 additions and 1837 deletions
+10
View File
@@ -75,6 +75,16 @@ void IRCDProto::SendMode(BotInfo *bi, const char *dest, const char *fmt, ...)
SendModeInternal(bi, dest, buf);
}
void IRCDProto::SendMode(User *u, const char *fmt, ...)
{
va_list args;
char buf[BUFSIZE] = "";
va_start(args, fmt);
vsnprintf(buf, BUFSIZE - 1, fmt, args);
va_end(args);
SendModeInternal(u, buf);
}
void IRCDProto::SendKick(BotInfo *bi, const char *chan, const char *user, const char *fmt, ...)
{
va_list args;