Argh, wrong replace caused by MS VS 2005 interface.
This commit is contained in:
parent
bd19829278
commit
637c4932f6
37 changed files with 282 additions and 282 deletions
|
@ -399,7 +399,7 @@ ms_join(struct Client *client_p, struct Client *source_p, int parc, const char *
|
|||
int isnew;
|
||||
int keep_our_modes = YES;
|
||||
int keep_new_modes = YES;
|
||||
rb_dlink_node *ptr, *rb_free(;
|
||||
rb_dlink_node *ptr, *next_ptr;
|
||||
|
||||
/* special case for join 0 */
|
||||
if((parv[1][0] == '0') && (parv[1][1] == '\0') && parc == 2)
|
||||
|
@ -469,7 +469,7 @@ ms_join(struct Client *client_p, struct Client *source_p, int parc, const char *
|
|||
set_final_mode(&mode, &chptr->mode);
|
||||
chptr->mode = mode;
|
||||
remove_our_modes(chptr, source_p);
|
||||
RB_DLINK_FOREACH_SAFE(ptr, rb_free(, chptr->invites.head)
|
||||
RB_DLINK_FOREACH_SAFE(ptr, next_ptr, chptr->invites.head)
|
||||
{
|
||||
del_invite(chptr, ptr->data);
|
||||
}
|
||||
|
|
|
@ -545,9 +545,9 @@ static void
|
|||
expire_tgchange(void *unused)
|
||||
{
|
||||
tgchange *target;
|
||||
rb_dlink_node *ptr, *rb_free(;
|
||||
rb_dlink_node *ptr, *next_ptr;
|
||||
|
||||
RB_DLINK_FOREACH_SAFE(ptr, rb_free(, tgchange_list.head)
|
||||
RB_DLINK_FOREACH_SAFE(ptr, next_ptr, tgchange_list.head)
|
||||
{
|
||||
target = ptr->data;
|
||||
|
||||
|
|
|
@ -759,7 +759,7 @@ change_local_nick(struct Client *client_p, struct Client *source_p,
|
|||
char *nick, int dosend)
|
||||
{
|
||||
struct Client *target_p;
|
||||
rb_dlink_node *ptr, *rb_free(;
|
||||
rb_dlink_node *ptr, *next_ptr;
|
||||
struct Channel *chptr;
|
||||
char note[NICKLEN + 10];
|
||||
int samenick;
|
||||
|
@ -843,7 +843,7 @@ change_local_nick(struct Client *client_p, struct Client *source_p,
|
|||
* to clear a clients own list of accepted clients. So just remove
|
||||
* them from everyone elses list --anfl
|
||||
*/
|
||||
RB_DLINK_FOREACH_SAFE(ptr, rb_free(, source_p->on_allow_list.head)
|
||||
RB_DLINK_FOREACH_SAFE(ptr, next_ptr, source_p->on_allow_list.head)
|
||||
{
|
||||
target_p = ptr->data;
|
||||
|
||||
|
|
|
@ -104,7 +104,7 @@ ms_sjoin(struct Client *client_p, struct Client *source_p, int parc, const char
|
|||
char *p;
|
||||
int i, joinc = 0, timeslice = 0;
|
||||
static char empty[] = "";
|
||||
rb_dlink_node *ptr, *rb_free(;
|
||||
rb_dlink_node *ptr, *next_ptr;
|
||||
|
||||
if(!IsChannelName(parv[2]) || !check_channel_name(parv[2]))
|
||||
return 0;
|
||||
|
@ -268,7 +268,7 @@ ms_sjoin(struct Client *client_p, struct Client *source_p, int parc, const char
|
|||
rb_dlink_list_length(&chptr->invexlist) +
|
||||
rb_dlink_list_length(&chptr->quietlist);
|
||||
|
||||
RB_DLINK_FOREACH_SAFE(ptr, rb_free(, chptr->locmembers.head)
|
||||
RB_DLINK_FOREACH_SAFE(ptr, next_ptr, chptr->locmembers.head)
|
||||
{
|
||||
msptr = ptr->data;
|
||||
who = msptr->client_p;
|
||||
|
@ -342,7 +342,7 @@ ms_sjoin(struct Client *client_p, struct Client *source_p, int parc, const char
|
|||
if(!keep_our_modes)
|
||||
{
|
||||
remove_our_modes(chptr, fakesource_p);
|
||||
RB_DLINK_FOREACH_SAFE(ptr, rb_free(, chptr->invites.head)
|
||||
RB_DLINK_FOREACH_SAFE(ptr, next_ptr, chptr->invites.head)
|
||||
{
|
||||
del_invite(chptr, ptr->data);
|
||||
}
|
||||
|
@ -836,7 +836,7 @@ remove_ban_list(struct Channel *chptr, struct Client *source_p,
|
|||
static char lparabuf[BUFSIZE];
|
||||
struct Ban *banptr;
|
||||
rb_dlink_node *ptr;
|
||||
rb_dlink_node *rb_free(;
|
||||
rb_dlink_node *next_ptr;
|
||||
char *pbuf;
|
||||
int count = 0;
|
||||
int cur_len, mlen, plen;
|
||||
|
@ -846,7 +846,7 @@ remove_ban_list(struct Channel *chptr, struct Client *source_p,
|
|||
cur_len = mlen = rb_sprintf(lmodebuf, ":%s MODE %s -", source_p->name, chptr->chname);
|
||||
mbuf = lmodebuf + mlen;
|
||||
|
||||
RB_DLINK_FOREACH_SAFE(ptr, rb_free(, list->head)
|
||||
RB_DLINK_FOREACH_SAFE(ptr, next_ptr, list->head)
|
||||
{
|
||||
banptr = ptr->data;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue