struct Client *target_p;
char *server;
char *s;
- int count;
/* user[%host]@server addressed?
* NOTE: users can send to user@server, but not user%host@server
return;
}
- count = 0;
-
if(!IsOper(source_p))
{
if(strchr(nick, '%') || (strncmp(nick, "opers", 5) == 0))
char *t;
int tlen;
hook_data_client hdata;
- char *name;
- char quest[] = "?";
int visible;
int extra_space = 0;
- if(target_p->name[0] == '\0')
- name = quest;
- else
- name = target_p->name;
-
if(target_p->user == NULL)
{
s_assert(0);
qs_server(struct Client *client_p, struct Client *source_p, struct Client *from,
const char *comment)
{
- struct Client *target_p;
-
if(source_p->servptr && source_p->servptr->serv)
rb_dlinkDelete(&source_p->lnode, &source_p->servptr->serv->servers);
else
s_assert(0);
rb_dlinkFindDestroy(source_p, &global_serv_list);
- target_p = source_p->from;
if(has_id(source_p))
del_from_id_hash(source_p->id, source_p);
valid_extban(const char *banstr, struct Client *client_p, struct Channel *chptr, long mode_type)
{
const char *p;
- int invert = 0, result = EXTBAN_INVALID;
+ int result = EXTBAN_INVALID;
ExtbanFunc f;
if (*banstr != '$')
return 0;
p = banstr + 1;
if (*p == '~')
- {
- invert = 1;
p++;
- }
f = extban_table[(unsigned char) ToLower(*p)];
if (*p != '\0')
{