Skip to content
This repository was archived by the owner on Jun 6, 2021. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions modules/m_cmessage.c
Original file line number Diff line number Diff line change
Expand Up @@ -196,11 +196,11 @@ m_cmessage(int p_or_n, enum message_type msgtype,
call_hook(h_privmsg_user, &hdata);

if (hdata.approved != 0)
return;
return 0;

/* the hook may have killed them */
if (IsAnyDead(source_p))
return;
return 0;

sendto_anywhere_message(target_p, source_p, cmdname[msgtype], "%s", hdata.text);

Expand Down
2 changes: 1 addition & 1 deletion modules/m_sasl.c
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ mr_authenticate(struct Client *client_p, struct Client *source_p,
if (*parv[1] == ':' || strchr(parv[1], ' '))
{
exit_client(client_p, client_p, client_p, "Malformed AUTHENTICATE");
return;
return 0;
}

if(source_p->preClient->sasl_complete)
Expand Down