[srvx-commits] CVS: services/src proto-p10.c,1.22,1.23
Brought to you by:
entrope
|
From: Zoot <zo...@us...> - 2002-08-14 19:43:29
|
Update of /cvsroot/srvx/services/src
In directory usw-pr-cvs1:/tmp/cvs-serv17598/src
Modified Files:
proto-p10.c
Log Message:
Remove some unused and unnecessary code.
Index: proto-p10.c
===================================================================
RCS file: /cvsroot/srvx/services/src/proto-p10.c,v
retrieving revision 1.22
retrieving revision 1.23
diff -C2 -r1.22 -r1.23
*** proto-p10.c 14 Aug 2002 04:09:27 -0000 1.22
--- proto-p10.c 14 Aug 2002 19:43:25 -0000 1.23
***************
*** 1969,1975 ****
};
unsigned int remove = 0, pos = 0;
- char buffer[40 + KEYLEN];
- buffer[pos++] = '-';
while(*modes)
{
--- 1969,1973 ----
***************
*** 1981,1989 ****
{
remove |= flag_p[0];
-
- if((flag_p[0] & CHANNEL_MODES) & channel->modes)
- {
- buffer[pos++] = flag_p[0];
- }
break;
}
--- 1979,1982 ----
***************
*** 2001,2010 ****
if((remove & MODE_KEY) && channel->key)
{
- pos += sprintf(buffer + pos, " %s", channel->key);
channel->key[0] = '\0';
}
if((remove & MODE_LIMIT) && channel->limit)
{
- pos += sprintf(buffer + pos, " %d", channel->limit);
channel->limit = 0;
}
--- 1994,2001 ----
|