Make +gGR not affect services.

This commit is contained in:
B.Greenham 2010-03-05 14:28:48 -05:00
parent 75a9b0c8b0
commit 85465c4341
1 changed files with 1 additions and 1 deletions

View File

@ -789,7 +789,7 @@ msg_client(int p_or_n, const char *command,
target_p->name);
}
/* If opers want to go through +g, they should load oaccept.*/
else if(!IsServer(source_p) && (IsSetCallerId(target_p) ||
else if(!IsServer(source_p) && !IsService(source_p) && (IsSetCallerId(target_p) ||
(IsSetSCallerId(target_p) && !has_common_channel(source_p, target_p)) ||
(IsSetRegOnlyMsg(target_p) && !source_p->user->suser[0])))
{