arghgggurggle gurgle gurgle gurgle gurgle, I'm drowning in fucking chanadmin bugs
This commit is contained in:
parent
a45f0fe9ef
commit
859ccb370b
1 changed files with 5 additions and 3 deletions
|
@ -19,7 +19,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
* USA
|
||||
*
|
||||
* $Id: channel_mode.c,v 1.13 2002/09/16 07:36:01 fishwaldo Exp $
|
||||
* $Id: channel_mode.c,v 1.14 2002/09/16 09:31:20 fishwaldo Exp $
|
||||
*/
|
||||
|
||||
#include "stdinc.h"
|
||||
|
@ -1696,8 +1696,8 @@ get_channel_access(struct Client *source_p, struct Channel *chptr)
|
|||
{
|
||||
/* Let hacked servers in for now... */
|
||||
|
||||
if (!MyClient(source_p))
|
||||
return CHACCESS_CHANOP;
|
||||
if (IsUlined(source_p) || IsServices(source_p))
|
||||
return CHACCESS_ADMIN;
|
||||
|
||||
if (is_chan_admin(chptr, source_p))
|
||||
return CHACCESS_ADMIN;
|
||||
|
@ -2088,6 +2088,7 @@ set_channel_mode_flags(char flags_ptr[NUMLISTS][2], struct Channel *chptr,
|
|||
flags_ptr[1][0] = '\0';
|
||||
flags_ptr[2][0] = '\0';
|
||||
flags_ptr[3][0] = '\0';
|
||||
flags_ptr[4][0] = '\0';
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -2095,6 +2096,7 @@ set_channel_mode_flags(char flags_ptr[NUMLISTS][2], struct Channel *chptr,
|
|||
flags_ptr[1][0] = '%';
|
||||
flags_ptr[2][0] = '+';
|
||||
flags_ptr[3][0] = '¤';
|
||||
flags_ptr[4][0] = '\0';
|
||||
|
||||
flags_ptr[0][1] = '\0';
|
||||
flags_ptr[1][1] = '\0';
|
||||
|
|
Reference in a new issue