mirror of
https://github.com/pissnet/pissircd.git
synced 2025-07-31 07:22:26 +01:00
+- Fixed a problem with users opping servers.. Found by Morbid
This commit is contained in:
parent
78cfb2fb10
commit
56effd6149
2 changed files with 3 additions and 0 deletions
1
Changes
1
Changes
|
@ -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
|
||||
|
|
|
@ -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)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue