*/
#include "stdinc.h"
-#include "tools.h"
#include "channel.h"
#include "client.h"
#include "hash.h"
-#include "irc_string.h"
+#include "match.h"
#include "ircd.h"
#include "numeric.h"
#include "s_user.h"
/*
* mo_omode - MODE command handler
- * parv[0] - sender
* parv[1] - channel
*/
static int
for (i = 2; i < parc; i++)
{
if (i != 2)
- strlcat(params, " ", sizeof params);
- strlcat(params, parv[i], sizeof params);
+ rb_strlcat(params, " ", sizeof params);
+ rb_strlcat(params, parv[i], sizeof params);
}
sendto_wallops_flags(UMODE_WALLOP, &me,
":%s TMODE %ld %s +o %s",
me.id, (long) chptr->channelts, parv[1],
source_p->id);
- sendto_server(NULL, chptr, NOCAPS, CAP_TS6,
- ":%s MODE %s +o %s",
- me.name, parv[1], source_p->name);
msptr->flags |= CHFL_CHANOP;
}
else