const char* nick, int parc, char* parv[], unsigned int force);
extern void send_umode_out(struct Client* cptr, struct Client* sptr,
struct Flags* old, int prop);
-extern void send_umode(struct Client *cptr, struct Client *sptr, struct Flags *old,
- int sendset);
extern int whisper(struct Client* source, const char* nick,
const char* channel, const char* text, int is_notice);
extern void send_user_info(struct Client* to, char* names, int rpl,
assert(0 != sptr);
assert(cptr == sptr);
- if (!irc_strcmp(parv[parc - 1], "ZOMBIE")) {
+ if (!ircd_strcmp(parv[parc - 1], "ZOMBIE")) {
zombie_client(&me, &me, sptr);
return 0;
}
#include "config.h"
#include "client.h"
+#include "hash.h"
#include "ircd.h"
#include "ircd_log.h"
#include "ircd_reply.h"
#include "ircd_string.h"
#include "msg.h"
+#include "numeric.h"
#include "numnicks.h"
#include "s_debug.h"
#include "s_misc.h"
return 0;
}
- if (!(victim = findUser(parv[1]))) {
+ if (!(victim = FindUser(parv[1]))) {
send_reply(sptr, ERR_NOSUCHNICK, parv[1]);
return 0;
}
TOK_SVSPART,
0, MAXPARA, MFLG_SLOW, 0, NULL,
/* UNREG, CLIENT, SERVER, OPER, SERVICE */
- { m_ignore, m_ignore, ms_svspart, m_svspart, m_ignore }
+ { m_ignore, m_ignore, ms_svspart, m_ignore, m_ignore }
},
{
MSG_WEBIRC,
struct Flags setflags = cli_flags(acptr);
struct Membership *chan;
sendcmdto_one(acptr, CMD_NICK, victim, "%C", victim);
- send_umode(victim, victim, &setflags, ALL_UMODES);
+ send_umode(victim, victim, &setflags, ALL_UMODES, 0);
/*
* mark current client as zombie on all channels so that it does not show