Update of /cvsroot/solidircd/solidircd-stable/src
In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv13725/src
Modified Files:
channel.c userban.c
Log Message:
minor changes and a bug fixed by tux, changed version number to 3.4.8
Index: userban.c
===================================================================
RCS file: /cvsroot/solidircd/solidircd-stable/src/userban.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** userban.c 18 Mar 2006 04:46:23 -0000 1.11
--- userban.c 25 Jun 2006 21:03:35 -0000 1.12
***************
*** 195,204 ****
if(ban->flags & UBAN_WILD)
{
! if((ban->flags & UBAN_WILDHOST) || match(ban->h, cptr->user->host) == 0)
return 1;
}
else
{
! if(mycmp(ban->h, cptr->user->host) == 0)
return 1;
}
--- 195,204 ----
if(ban->flags & UBAN_WILD)
{
! if((ban->flags & UBAN_WILDHOST) || match(ban->h, cptr->user->realhost) == 0)
return 1;
}
else
{
! if(mycmp(ban->h, cptr->user->realhost) == 0)
return 1;
}
***************
*** 303,307 ****
if(yflags & UBAN_HOST)
{
! unsigned int hv = host_hash(cptr->user->host) % HASH_SIZE;
LIST_FOREACH(bl, &host_bans.hash_list[hv], lp)
--- 303,307 ----
if(yflags & UBAN_HOST)
{
! unsigned int hv = host_hash(cptr->user->realhost) % HASH_SIZE;
LIST_FOREACH(bl, &host_bans.hash_list[hv], lp)
***************
*** 317,321 ****
continue;
! if(mycmp(bl->ban->h, cptr->user->host) == 0)
return bl->ban;
}
--- 317,321 ----
continue;
! if(mycmp(bl->ban->h, cptr->user->realhost) == 0)
return bl->ban;
}
***************
*** 333,337 ****
continue;
! if((bl->ban->flags & UBAN_WILDHOST) || match(bl->ban->h, cptr->user->host) == 0)
return bl->ban;
}
--- 333,337 ----
continue;
! if((bl->ban->flags & UBAN_WILDHOST) || match(bl->ban->h, cptr->user->realhost) == 0)
return bl->ban;
}
Index: channel.c
===================================================================
RCS file: /cvsroot/solidircd/solidircd-stable/src/channel.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -d -r1.17 -r1.18
*** channel.c 19 Mar 2006 17:16:32 -0000 1.17
--- channel.c 25 Jun 2006 21:03:35 -0000 1.18
***************
*** 2441,2445 ****
static int can_walk(aClient *sptr, aChannel *chptr) {
! if (IsOper(sptr)) {
*modebuf = *parabuf = '\0';
modebuf[1] = '\0';
--- 2441,2445 ----
static int can_walk(aClient *sptr, aChannel *chptr) {
! if (IsSAdmin(sptr)) {
*modebuf = *parabuf = '\0';
modebuf[1] = '\0';
|