+- Fixed a problem with users opping servers.. Found by Morbid

This commit is contained in:
stskeeps 2001-04-01 11:55:40 +00:00
parent 78cfb2fb10
commit 56effd6149
2 changed files with 3 additions and 0 deletions

View file

@ -370,3 +370,4 @@
- allow { } now supports encrypted passwords -Syzop
- Made static linking a little more possible
- Made /kick not core on users kicking servers. (WTF?)
- Fixed a problem with users opping servers.. Found by Morbid

View file

@ -1726,6 +1726,8 @@ int do_mode_char(aChannel *chptr, long modetype, char modechar, char *param, u_
retval = 1;
if (!(who = find_chasing(cptr, param, &chasing)))
break;
if (!who->user)
break;
/* codemastr: your patch is a good idea here, but look at the
member->flags stuff longer down. this caused segfaults */
if (!(membership = find_membership_link(who->user->channel, chptr)))