Loading src/server/actions.c +1 −1 Original line number Diff line number Diff line Loading @@ -67,7 +67,7 @@ void accept_action(ipc_connection_t *conn, ipc_message_t *msg) /* what are the protection levels */ int prot_vi = (victim.record.chatprivs & CP_PROTMASK) >> CP_PROTSHIFT; int prot_at = (attacker.record.chatprivs & CM_PROTMASK) >> CM_PROTSHIFT; int prot_at = (attacker.record.chatprivs & CP_PROTMASK) >> CP_PROTSHIFT; if (!cp_test(&attacker, CP_PROTECT)) prot_at = 0; if (prot_vi == 0 && cm_test(&victim, CM_PROTECTED)) prot_vi = 1; Loading Loading
src/server/actions.c +1 −1 Original line number Diff line number Diff line Loading @@ -67,7 +67,7 @@ void accept_action(ipc_connection_t *conn, ipc_message_t *msg) /* what are the protection levels */ int prot_vi = (victim.record.chatprivs & CP_PROTMASK) >> CP_PROTSHIFT; int prot_at = (attacker.record.chatprivs & CM_PROTMASK) >> CM_PROTSHIFT; int prot_at = (attacker.record.chatprivs & CP_PROTMASK) >> CP_PROTSHIFT; if (!cp_test(&attacker, CP_PROTECT)) prot_at = 0; if (prot_vi == 0 && cm_test(&victim, CM_PROTECTED)) prot_vi = 1; Loading