Revision e0a45fb4 nest/proto.c

View differences:

nest/proto.c
1006 1006
}
1007 1007

  
1008 1008
void
1009
proto_apply_cmd(struct proto_spec ps, void (* cmd)(struct proto *, unsigned int, int), unsigned int arg)
1009
proto_apply_cmd(struct proto_spec ps, void (* cmd)(struct proto *, unsigned int, int),
1010
		int restricted, unsigned int arg)
1010 1011
{
1012
  if (restricted && cli_access_restricted())
1013
    return;
1014

  
1011 1015
  if (ps.patt)
1012 1016
    proto_apply_cmd_patt(ps.ptr, cmd, arg);
1013 1017
  else

Also available in: Unified diff